Reading from and writing to text files

Can anyone guide me how to take input from a text file and then send the output to text file while working with STL..
Just as without STL

Could you be more precise on your question?
Take a look at the relevant section of the tutorial on this site, it covers the basics nicely, and shoudl put you in a position to either do what you want, or ask much more targeted questiosn if not.
Link: http://www.cplusplus.com/doc/tutorial/files.html
Topic archived. No new replies allowed.