Going mad can anyone help

This is a discussion on Going mad can anyone help within the C++ Programming forums, part of the General Programming Boards category; Ok after testing checking my program seems to work fine, it reads in the command line ok, it checks all ...

Going mad can anyone help

Ok after testing checking my program seems to work fine, it reads in the command line ok, it checks all the files, it reads in the lines from both files and compares them for a difference, were if they are different it writes it to a third txtfile, All this works fine, it writes the relevent info to the file.

The problem i am having is that when i try to display the contents of the 3rd txt file it won't work at all.

I checked and dbl checked and i am 98% sure that its correct, can anyone see anything wrong or am i missing something.