::AllocConsole();
freopen("CONOUT$", "w", stdout);

printf("test");