SDL Window opening with Console Window

This is a discussion on SDL Window opening with Console Window within the Windows Programming forums, part of the Platform Specific Boards category; Hi, I am using MinGW on Win32 and when I compile the following code, it works as expected. But when ...

SDL Window opening with Console Window

Hi, I am using MinGW on Win32 and when I compile the following code, it works as expected. But when I open the resulting executable, I get both a console window and the SDL window I created. Any reason why I get this console window?