我在类里面包含了一个类,然后类是
class Info {
string name;
string address;
};
class student{
public:
Info in;
};
然后析构的时候就报错
Unhandled exception at 0x01373902 in test.exe: 0xC0000005: Access violation writing location 0x002d0065.
我在类里面包含了一个类,然后类是
class Info {
string name;
string address;
};
class student{
public:
Info in;
};
然后析构的时候就报错
Unhandled exception at 0x01373902 in test.exe: 0xC0000005: Access violation writing location 0x002d0065.
3 回答2k 阅读✓ 已解决
2 回答3.9k 阅读✓ 已解决
2 回答3.2k 阅读✓ 已解决
1 回答3.2k 阅读✓ 已解决
1 回答2.7k 阅读✓ 已解决
3 回答3.4k 阅读
1 回答1.6k 阅读✓ 已解决
从所给的代码和编译错误信息,我只能看出是非法访问的错误。。。。。