#include #include <stdlib.h> #include <vector> using namespace std; struct test{ string name; }; vector<test> TEST(1000); int main(int argc, char *argv[]) { cout<<TEST.size(); string hello; hello = "hello"; TEST.push_back(hello); cin.get(); return 0; }
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question