You have a vector containing only std::strings and you asked to get every std::string out of strvec here
Code:
 for each(std::string str in strvec)
std::cout << str << ',';
That is what you are doing wrong. What do you exactly want to do?