twitter
    Find out what I'm doing, Follow Me :)

Is This Really Useful?

When we get to the chapters discussing input and output, we will need an indicator to tell us when we reach the end-of-file of an input file. Since different compilers use different numerical values for this, although most use either a zero or a minus 1, we will write the program with a "define" to define the EOF (end-of-file) used by our particular compiler. If at some later date, we change to a new compiler, it is a simple matter to change this one "define" to fix the entire program. End-of-line is another indicator that is not universal. This will make more sense when we get to the chapters on input and output.