J
John Smith
Hi all,
I have a char buff[100] 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"
Any ideas? I will appreciate it.
J.
I have a char buff[100] 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"
Any ideas? I will appreciate it.
J.