Is there a way to get c++ to make a folder and with in that folder have a txt file? If so is there a way to get the folder to open when the user does something? Thanks for help. Any tutorials on ofstream would be nice. Thanks again.
Is there a way to get c++ to make a folder and with in that folder have a txt file? If so is there a way to get the folder to open when the user does something? Thanks for help. Any tutorials on ofstream would be nice. Thanks again.
What do you mean "open when the user does something?" Are you implying a file manager? In general, yes it is possible.
Kuphryn
I did a board search and behold the wisdom of one of preludes posts!
more help:Code://done for winxp pro #include <windows.h> CreateDirectory ( "C:\\name", NULL );
http://msdn.microsoft.com/library/de...edirectory.asp
All found at this thread:
http://cboard.cprogramming.com/showt...=make+a+folder
My program is a register for a photo guy and it sets an id for each customer and i need it to create a folder named id(001,002..ect) and when the user wants to see pictures of a certain customer they type in the id number and it finds the folder and opens it so the user can look at the pictures.
I fail to see a question in that last post, almost seems as if you want us to write your code, which we dont do. Follow the links i provided and you will find your answers.
ok thanks.