J
j0mbolar
say you have char buf[] = "string1 string2 string3";
then you want to use sscanf to match "string3" and store
it into another array.
so:
char buf[] = "string1 string2 string3";
char array[100];
sscanf(buf, "what format string should we use?", array);
then you want to use sscanf to match "string3" and store
it into another array.
so:
char buf[] = "string1 string2 string3";
char array[100];
sscanf(buf, "what format string should we use?", array);