C manipulate directories : how to position at a directory by giving its name in main arguments
问题 I'm having trouble to manipulate directories in C. I want to give the name of 2 directories as argument on main check if the first directory exists (in the current path) open the directory call a function (that i created) to create files and do stuff inside the directory close the directory and go into the 2nd directory and do the same . I wrote my code but it still not doing the stuffs inside the directories that i gave on main, instead it looks like i'm always positioned in the current