类定义包含vecot<类>对象
#include "stdafx.h" #include <vector> using namespace std; class ControlPosition { public: int conbit; private: vector<ControlPosition> m_Entites; }; int _tmain(int argc, _TCHAR* argv[]) { return 0; }
知识就是希望
#include "stdafx.h" #include <vector> using namespace std; class ControlPosition { public: int conbit; private: vector<ControlPosition> m_Entites; }; int _tmain(int argc, _TCHAR* argv[]) { return 0; }