Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   need some help with reading and writing to files (http://www.go4expert.com/forums/help-reading-writing-files-t15825/)

cpulocksmith 15Jan2009 08:03

need some help with reading and writing to files
 
ok well i know that you can read and write to a file with fstream. but i have no idea how. if someone could please fill me in i would love them for a long time ^^. it would help if you please provided an example.

shabbir 15Jan2009 08:58

Re: need some help with reading and writing to files
 
Check out Creating a Directory and read/write to file in Directory in c++

cpulocksmith 15Jan2009 11:08

Re: need some help with reading and writing to files
 
i have read the artical and i have tried the program... and i still fail... i get like a page of errors.... "ofstream not declared".... so i did not #include <something> but i did all that he said.... mmmmm please help i think my brain is bleeding... damn codes...

xpi0t0s 15Jan2009 11:43

Re: need some help with reading and writing to files
 
http://letmegooglethatforyou.com/?q=fstream

First link.


All times are GMT +5.5. The time now is 08:35.