struct UserGatherStruct
{
char **isChair;//{'a1','a2','a3','a4'}
}
mainfrm.h
UserGatherStruct *gather;
test.cpp
((CMainFrame*)AfxGetMainWnd())->gather ->isChair[0]="Y";//
请教 为什么我的test.cpp里的那句话报错
((CMainFrame*)AfxGetMainWnd())->gather ->isChair[0]="Y";//
------解决方案--------------------
初始化了没?
------解决方案--------------------
isChair 初始化没?