Is there a standard way of reading text files? Or would ot be left for the programmer to decide?
Is there a standard way of reading text files? Or would ot be left for the programmer to decide?
Left to the programer. Read by character, read by line, read by word, etc. It depends on what read function you invoke.
Quzah.
Hope is the first step on the road to disappointment.
fgets is pretty good for most purposes - unless you have a real good reason for wanting to read a char at a time