我有一个名为GameObject的类,我试图将自身的实例存储到一个名为gameObjectList by push_back函数的GameObject构造函数中。engine.cpp中,并且我希望能够访问gameObjectList来执行这样的任务,例如:#incldue "..<< std::endl;}我触
所以我有一个引用DLL的主程序(在一个单独的解决方案中)。custom classes that has almost similar structure to this, and with their corresponding vector
//on the .cpp,在调试过程中,在exe端,我看到向量正在被填充(我通过‘添加监视’来完成这一任务--每个向量),但是当我跨过(F10)到dll端的InitTables函数时,所有