Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Gah! File I/O!

Status
Not open for further replies.

SmileeTiger

Programmer
Mar 13, 2000
200
US
I have totally forgotten how to do file I/O in C++..

Can someone give me an example of how to open a file and read from it and then write the data to another file all in text mode?

 
See my reply to your post in the other C++ Builder folder. It does it line by line.
James P. Cottingham

When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity.
[tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top