QUOTE(Phantom_of_the_opera @ 7 Feb, 2007 - 08:01 PM)

Ok I'm trying to read in a file and output its contents so I'm using the library <fstream> and declaring it, and using the ifstream inFile();
but how do I output the contents of the file? I tried declaring some variables but it didn't work... can somebody help me?
Thanks
Shayne
have a look at this tutorial on file I/O
http://www.cplusplus.com/doc/tutorial/files.html