Skip to main content
*Please* format your post.
Source Link
grawity_u1686
  • 465.3k
  • 66
  • 977
  • 1.1k

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

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() {

if (!CreateDirectoryA("E:\\hkhkhkhk\\....\\", NULL))
    cout << GetLastError() << endl;
 

getchar();
return 0;

}

Josh

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 <iostream>

using namespace std;

int main()
{
    if (!CreateDirectoryA("E:\\hkhkhkhk\\....\\", NULL))
        cout << GetLastError() << endl;

    getchar();
    return 0;
}

Josh

Source Link

What does "...." mean?

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() {

if (!CreateDirectoryA("E:\\hkhkhkhk\\....\\", NULL))
    cout << GetLastError() << endl;


getchar();
return 0;

}

Josh