65,210
社区成员
发帖
与我相关
我的任务
分享
#include<iostream>
#include<string>
using namespace std;
class student
{
string name;
int age;
public:
student(string a,int b)
:name(a),age(b)
{
};
~student()
{
}
inline string GetName()
{
return this->name;
}
};
void main()
{
student st("liss",12);
cout << st.GetName() << endl;
}
我想问问我的vs2010编译完成后一运行就出现找不到指定文件,我看了一下我编译成功的文件目录也没找到exe文件这是怎么回事???????????????