I have to write a function that will read input from a file. The file is set up: one character, space, word, space, throughout the file, like such:
A space 1 space 2 space...
etc
I need to extract the whitespace following the one character and NOT the whitespace following the word.
How can I go about doing this? Should I just make it so the function writes the whitespace itself instead of extracting it?
Also, I am importing this info into a 2-d char array. Will I run into problems trying to write integers to a char array?