0
可能重复:
How to split a string in C++?
Splitting a C++ std::string using tokens, e.g. “;”劈裂在C++中像我们在C#中做
觉得我有这个字符串:
string a = "hello,usa,one,good,bad";
我想分裂这个字符串与,
所以我需要串像这里数组:
string *a ; a = { hello , usa , one , good , bad }
我shoudl办?
这应该也是一个评论! – 2011-06-12 08:25:00