mfc工程中如何使用STL二维数组?
#include <vector>
using namespace std;
class CEditGridCtrlCtrl : public COleControl
{
......
vector<vector<int>> content;//这句如果去掉,编译就通过。如果不去掉,报错如下:
error C2146: syntax error : missing ',' before identifier 'content'
error C2065: 'content' : undeclared identifier
error C2143: syntax error : missing '>' before ';'
error C2208: 'class std::vector' : no members defined using this type
环境:VC6.0