Parsing char array to CString and int array
I have a char buff which contains "1234 ABCD 5678".
I can't remember what function I used before to parse the string into
individual variables. It was something like this:
forgotenFunction(var1, var2, var3, buff, "%d %s %d")
It gave me this:
var1 = "1234"
var2 = "ABCD"
var3 = "5678"
var1 and var3 are going to be an int array and var2 is a string.
i remember something regarding parsing by using the space as an identifier?
Any ideas? I will appreciate it.
Thanks in advance Smile