fscanf(inputFILE, "%s%s", s, c);
How does the first line of your text file look like?
You should always check the return value of fscanf(). In your case it should be 2.
Bye, Andreas
Type: Posts; User: AndiPersti
fscanf(inputFILE, "%s%s", s, c);
How does the first line of your text file look like?
You should always check the return value of fscanf(). In your case it should be 2.
Bye, Andreas
So how about testing your code snippets before posting them?
Bye, Andreas