How can one make folders in C or remove and rename them?

Status
Not open for further replies.

SUNBELT

Member level 2
Joined
Oct 4, 2005
Messages
42
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,652
How can one make folders (not files) in c or remove and rename them.
Please provide me with simple example.
I think one should use "mkdir".
 

Re: c problem

What OS are you running?

Anyway, You can probably do this using the system command.
**broken link removed**
If you using a unix enviroment type 'man system'.

Other than that I'm sure you can do it in much the same way as any other file, just look for some examples using google or read some file I/O manuals for the compiler that you are using.

oddbudman
 

Re: c problem

mkdir newfolder
md newfolder


try either one
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…