Name: Anonymous 2012-10-05 6:05
hey guys,
a little C help needed.
how would you go about reading in a string like:
string1#string2#integer
which would read string1 and string2 into 2 different strings and the integer into an integer?
tried to do it with
scanf("%s%s%d",a,b,&c);
but it doesnt work that way :(
a little C help needed.
how would you go about reading in a string like:
string1#string2#integer
which would read string1 and string2 into 2 different strings and the integer into an integer?
tried to do it with
scanf("%s%s%d",a,b,&c);
but it doesnt work that way :(