How to read from txt file

How does my code from C++ compiler will read the text file. I mean just tell me what do i have to type in text file ? I don't know what to type.

Thanks
There's a neat little tutorial on this site about file I/O that you can read here:
http://cplusplus.com/doc/tutorial/files/

I hope it helps!

-Albatross
Topic archived. No new replies allowed.