Click here to Skip to main content
15,894,405 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What I'm wanting to do is make a program that lets the user type in a name, and after the user types the name/password, it saves it using the /MD command. I need help doing this, as I don't know how I am supposed to code it in. Ive tried using cin >> InputName >> system("md");, and it didnt work. the program opens, and runs perfectly with np errors or bugs, but i want to know how to save it as a folder name.
Posted
Updated 6-Mar-15 22:28pm
v2

1 solution

If you want to create a directory you can use the C function _mkdir[^] or the Windows API function CreateDirectory[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900