try: "Program.txt.txt" in the file name.
or check if showing file extentions are ticked there.
try: "Program.txt.txt" in the file name.
or check if showing file extentions are ticked there.
We all are the components of a huge program...... the programmer is always debugging us with His debugger.
try changing your condition to this:
Code:while ( getline (openfile,line) ){ cout << line << endl; }
Last edited by cold_dog; 09-05-2006 at 12:49 AM.