I have seem to forgot how to read and write files with c++, will someone post either a tut part or refresh my memory?
Plus, does anyone know if directx has any special functions for files?
Printable View
I have seem to forgot how to read and write files with c++, will someone post either a tut part or refresh my memory?
Plus, does anyone know if directx has any special functions for files?
Here... I stayed up all night searching the web. I went through like 3,000,000,000 sites until I finally found this tutorial. I hope it was worth my effort ;)
PS I hope everybody finds this funny or at least *gets it*.
What the hell? There's a tutorial right here on this site, biosx. Hahaha, you sure wasted your time.
Use IFStream and OFStream.
dual-catfish, did you click on the link, heh.
great sarcasm biosx!
You include fstream.h, create either an ifstream or an ofstream object (the use for each is obviously obvious), and then use ifstream.get() and ofstream.put(), etc...
Cmon xlnk, play along :)