| | |
make directory
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Mar 2005
Posts: 12
Reputation:
Solved Threads: 0
How can i create a directory in c++ other than writing
C++ Syntax (Toggle Plain Text)
system ("md directory");
Linux in this case mode = O_CREAT. Function returns an int. Lookup "man mkdir", if memory serves me correctly for more details.
Windows If the function succeeds returns non-zero otherwise NULL.
C++ Syntax (Toggle Plain Text)
#include <sys/stat.h> mkdir (const char *path, mode_t mode);
Windows
C++ Syntax (Toggle Plain Text)
#include <windows.h> CreateDirectory (char *DirName, SECURITY_ATTRIBUTES Attribs);
![]() |
Similar Threads
- make directory (PHP)
- Promote a link directory (Promotion and Marketing Plans)
- Directory (Promotion and Marketing Plans)
- how to make sure directory is created (Perl)
- Need help with directory displayer code (PHP)
- How to change DIRECTORY ATTRIBUTES through C or C++ (C++)
- directory/file listbox (Graphics and Multimedia)
Other Threads in the C++ Forum
- Previous Thread: Novice wants to improve skills
- Next Thread: Passing Arrays to function in Visual C++
| Thread Tools | Search this Thread |
api array based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count database delete deploy developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int java lib linkedlist linker list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference rpg sorting string strings temperature template test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets





