46
General / Re: hiding console - command and subsystem
« on: March 06, 2013, 03:37:58 pm »
For anyone else who searches for how to do this, you don't need to look for a solution through SFML. Looking for a solution through the language you're using will probably be easier.
For example this little piece of code hides the console window in C++:
For example this little piece of code hides the console window in C++:
Code: [Select]
#define _WIN32_WINNT 0x0500
#include <windows.h>
#include <iostream>
int main()
{
HWND hWnd = GetConsoleWindow();
ShowWindow( hWnd, SW_HIDE );
return 0;
}