c++: Split string by delimite
For example I have this string: hello:there:world
How do I split these three words to string array, I mean the final result
will be this:
arr[0] = "hello";
arr[1] = "there";
arr[2] = "world";
Thanks in advance .
No comments:
Post a Comment