S Sentinel Diamond Member Jun 23, 2000 3,714 1 71 Dec 13, 2004 #1 if I have a vector in a struct like Struct Alpha { std::vector<std::string> v; }; how do I call that and modify it in the main main() { ?? return 0; } I think I have to do something like ?? = {std::vector<std::string> (0)};
if I have a vector in a struct like Struct Alpha { std::vector<std::string> v; }; how do I call that and modify it in the main main() { ?? return 0; } I think I have to do something like ?? = {std::vector<std::string> (0)};
S Sentinel Diamond Member Jun 23, 2000 3,714 1 71 Dec 15, 2004 #3 i figured it out with some help all i had to do is a resize