using the ifstrream header i know i can read/write from files, but what about creating directories and renaming them (and renaming files)
if this is possible how would i go about doing this? (ive tried several theroys on this)
This is a discussion on ifstream capabilties within the C++ Programming forums, part of the General Programming Boards category; using the ifstrream header i know i can read/write from files, but what about creating directories and renaming them (and ...
using the ifstrream header i know i can read/write from files, but what about creating directories and renaming them (and renaming files)
if this is possible how would i go about doing this? (ive tried several theroys on this)
Email: Klinerr1@nc.rr.com || AIM: MisterSako || MSN: sakotheinsane@hotmail.com
-the shroom has spoken
Nope, can't be done with ifstream. Although some instances of ifstream/ofstream will create a file if you try to open one which doesn't exist. If your compiler has <direct.h> you can use the functions in that... if not, then the Win32 API