我有这个错误:
"错误C4430:缺少类型说明符 - 假定为int.注意:C++不支持default-int"
使用此代码示例:
//A.h
#include "B.h"
class A{
B* b;
..
};
//B.h
#include "A.h"
class B{
A* a; // error error C4430: missing type specifier - int assumed.
};
Run Code Online (Sandbox Code Playgroud)