I am refreshing my C knowledge, I am wondering how I would count the number of lines in a text file?
I have looked up the ascii code for a CR, this being 0x15, is it as simple as scanning the file for CR's?
This is just a practical exercise to get back into C.
Cheers Mick