Categories
How to rename a directory in g++ and create a new one?
There is an image directory, you need to rename it and create a new image directory.
Answer the question
In order to leave comments, you need to log in
It's easy to rename
#include <cstdio> int main() { rename("t1", "t2"); return 0; }
#include <sys/stat.h> int main() { mkdir("t1", 0644); return 0; }
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question