Is there a way to read a file character by character for chars and the number set for numbers?
bob 4567
joe 39083
sara 4239824
That is my file
while ((c = fgetc(pFile)) != EOF)
{
//my work
}
I know this works on my chars. This won't read numbers in the I want. This reads b,o,b,space,4,5,6,7. I want it to read b,o,b,space,4567. The reason for this is I will be adding the 4567 plus 39083 plus 4239824 eventually.