Help with c++
#1

Let's say I have this string:
"hello:thereamp"

How do I split those words by delimiter ':' to array

I want this to be the result:

arr[0] = "hello";
arr[1] = "there";
arr[2] = "samp";
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)