How can I find the number of lines in a file?
What I want to do is load a file into a char**. In order to initialize the number of pointers to char I need to know the number of lines in the file. If someone knows an easier way I would appriciate the help.