Hey,
I have been writing a simple program in C which uses fget to read in the first line of a text file into an array called lines[0].
The line of text is a name in the form "Bloggs, Joe" which is what is stored in the array.
However, I only really want to store the surname in the array. i.e...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.