You have a vector containing only std::strings and you asked to get every std::string out of strvec hereThat is what you are doing wrong. What do you exactly want to do?Code:for each(std::string str in strvec) std::cout << str << ',';
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 23
Thread: Selfappending vectorThreaded View
|
Click Here to Expand Forum to Full Width |