I see, but in cases when I need to convert tok to an integer to store an integer?
int i = atoi( tok )
Is that not valid.
Also, why do we run a while loop until tok is NULL? Is this...
Type: Posts; User: ofCircuits
I see, but in cases when I need to convert tok to an integer to store an integer?
int i = atoi( tok )
Is that not valid.
Also, why do we run a while loop until tok is NULL? Is this...
This corresponds with lines 18 and 22.
This seems to be the standard example I've been able to find online, but like I said:
I guess I'm just looking for some help to achieve a deeper...
Full Disclosure: This is part of an assignment I have received from school. In the assignment we are forbidden to use fscanf().
I have been trying to get this to work, but I've started to...