Possible Duplicate:
Reading through file using ifstream
Hello. I'm a bit of a newbie to C++ so please be specific. I'm trying to find a way to read something from a file, put it into a string and then output it onto the screen. If you know how to do this can you give an example? Thanks.