C++ Make directory
Hi guys,
Im looking for ideas/source for making a very simple program. I want it to make a directory and prompt you for the name of it, then exit. Ideally it would let you pick where to make that directory, but also by default always make it on same place i.e. desktop
thanks
Ok well I have the basic _mkdir stuff, I guess the real problem is I want to make it anywhere
Folders and directory structure are OS dependant. There is no standard C++ way of manipulating them.
daerid | Legends | Garage Games | Spirit | Hapy | Boost | Python | Google
"Doomed to crumble, unless we grow, and strengthen our communication" - Maynard James Keenan, Tool
daerid | Legends | Garage Games | Spirit | Hapy | Boost | Python | Google
"Doomed to crumble, unless we grow, and strengthen our communication" - Maynard James Keenan, Tool
Do you actually have a question here? It seems like you have a problem, but from your post I can''t tell if it''s parsing input, calling functions, composing strings, linking or figuring out if you should sacrifice a duck or a ram when coding when Mercury is in the third house.
he is asking for a way to generate directories , an thus my answer is boost::filesystem google on it or search the forums here i know ive seen it posted before
boost::filesystem::create_directory
boost::filesystem::create_directories
- Magmai Kai Holmlor
Not For Rent
[Look for information | GDNet Start Here | GDNet Search Tool | GDNet FAQ | MSDN RTF[L] | SGI STL Docs | STFW | Asking Smart Questions ]
[Free C++ Libraries | Boost | ACE | Loki | MTL | Blitz++ | wxWindows| Spirit(xBNF)]
[Free C Libraries | zlib ]
boost::filesystem::create_directories
- Magmai Kai Holmlor
Not For Rent
[Look for information | GDNet Start Here | GDNet Search Tool | GDNet FAQ | MSDN RTF[L] | SGI STL Docs | STFW | Asking Smart Questions ]
[Free C++ Libraries | Boost | ACE | Loki | MTL | Blitz++ | wxWindows| Spirit(xBNF)]
[Free C Libraries | zlib ]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement