i want fscanf to read an integer
but to stop when space char appears..
i read that %s means stop when there is whitespaceCode:
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