首页
编程
java
php
前端
首页
编程
java
php
前端
怎么写能使16、17行的内容打印出来
在main函数中调用一下就可以了
int main()
{
Person ps;
ps.func();
return 0;
}
第8行和第10行删掉试试
点击展开全文