![]() |
fopen
I am having to write a program that opens a text file called test.txt and take the information in that file make changes to it and save the canges in a new text file called change.txt
I think I need to use fopen but I am not really sure about how I would go about using that. Everything I try to read about fopen just gets me more lost then I already am. |
Re: fopen
Look into using fstream. Google "C++ fstream".
|
Re: fopen
fopen() is intended for C, not C++, although it can be used in c++ but there are a lot easier ways to do it. Take Infinite's advice and use fstream object.
Here is one of several tutorials |
| All times are GMT -5. The time now is 4:16 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC