Hi all. How would i go about making a prog that would make a dir in the home dir for linux with out knowing what the user name is? For example, if i have /home/someguy/ as a file path, how would i write that in some code?
Code example
Does that make sense? If not let me know so i can elaborate. Thanx in advance!Code:char buffer="mkdir /home/"; system(buffer);




Reply With Quote