i want fscanf to read an integer
but to stop when space char appears..
i read that %s means stop when there is whitespaceCode:fscanf(room,%10s%,&id);
but on the scanf command i knew
that %s ment read a string
how to read the in put as an integer and stop when there is
a space
??



LinkBack URL
About LinkBacks



