Hi I'm creating a parser using Visual C++ and I'm having a problem reading the contents of a file per line. I tried using fread but you have to specify that size of the record you need to store in the buffer. Length of each line record is variable so I can't make use of this function.
It's my first time using Visual C++ and my background in C is little, I had it while I was still in college. I'd really appreciate your help (I already tried one of the suggestions posted here, but it still is giving me some errors!)
Thanks in advance.