AllocConsole();
freopen( "CONOUT$", "w+t", stdout );// 申请写
freopen( "CONIN$", "r+t", stdin );
printf("Hello World!/n");
char ch = getchar();
FreeConsole();
AllocConsole();
freopen( "CONOUT$", "w+t", stdout );// 申请写
freopen( "CONIN$", "r+t", stdin );
printf("Hello World!/n");
char ch = getchar();
FreeConsole();