Quote Originally Posted by Prelude
>Am I possibly doing something wrong with the file name?
>gave me a problem with the file as well "error opening file"
I imagine the first would be undefined behavior because the file wasn't found and your code didn't check for that. The second was my carefully crafted error message notifying you that the file you typed wasn't where the program looked for it. Try giving the full path of the file, or if you're running this program from the IDE, find out where your compiler looks for files (such as the same location as the project file or the executable) and place it there.
Well the error is def. the one notifying me the typed file was'nt where the program looked for it, so I then, typed the full path and it still gave me the same error????

I am using notepad to create the text file, and using VC++.net to write source and compile