I'm having problems with reading the first line in a certain text file. I use the following function to do this:
This is what the text file (id_index) looks like:
fpin = fopen(id_index, "rb");
cnt++; // count the amount of identifier files found
Now when I save those names, line by line into an array, the first value of the array is:
So it misses the first character! Any idea how I can solve this problem?
Thanks in advance for any help!