Documentos de Académico
Documentos de Profesional
Documentos de Cultura
JOIN DANIWEB
MEMBER LOG IN
Search
Software Development
Web Development
Internet Marketing
Business Exchange
Community Center
Ad:
Unsolved
Views: 38402
Like
xfruan
Newbie Poster Offline 12 posts since Mar 2005
Permalink
make directory
How can i create a directory in c++ other than writing C++ Syntax (Toggle Plain Text)
1. system ("md directory");
0
Expand Post
Similar Threads
make directory in PHP Promote a link directory in Promotion and Marketing Plans Directory in Promotion and Marketing Plans how to make sure directory is created in Perl Need help with directory displayer code in PHP
Ads by Google
Permalink
Tight_Coder_Ex
Posting Whiz in Training Offline 215 posts since Feb 2005
in this case mode = O_CREAT. Function returns an int. Lookup "man mkdir", if memory serves me correctly for more details. Windows C++ Syntax (Toggle Plain Text)
1. #include <windows.h> 2. 3. CreateDirectory (char *DirName, SECURITY_ATTRIBUTES Attribs);
xfruan
Newbie Poster Offline 12 posts since Mar 2005
Permalink
Permalink
If you not too concerned about the bells and whistles that go along with 95/98/XP then mkdir will work just fine. If you are creating projects in VC++ 6.0 with the wizzard and "stdafx.h" is already included you don't have to worry about <windows.h> because it's already in there.
Message:
0
Like
Previous Thread in C++ Forum Timeline: Next Thread in C++ Forum Timeline:
c++
calculator char class classes code code-tags console conversion convert count counting cpp data dev
dll double error file files for-loop fstream function functions game getline gimmetehcodez gui help! hexadecimal homework inheritance input int integer lazy linked-list linux list
loop loops matrix member memory mfc multiple number numbers object opengl output overloading pointer pointers problem problem-programs problems program programmer
programmers programming project qt random read recursion recursive reference sdl socket sorting stack string strings struct structure structures student tags-fail template text
variable vc++ vector vectors video virtual visual visual-studio win32 windows
Like
Send
Follow us on