I wrote some codes to create a directory named "E:\hkhkhkhk\...." in c++. It actually created "...." iteratively. And the parent directory "hkhkhkhk" cannot be removed.
I was wondering how the system explains "....".
The code is as below, execute it in virtual machine.
#include <windows.h> #include
using namespace std;
int main() {
#include <windows.h>
#include <iostream>
using namespace std;
int main()
{
if (!CreateDirectoryA("E:\\hkhkhkhk\\....\\", NULL))
cout << GetLastError() << endl;
getchar();
return 0;
}
}
Josh