I'm learning to use the Simple, Fast, Multimedia Library (or SFML), and I was going through the tutorials on their website. The first one (found here) said the following:
Under Windows operating systems, you may have created a "Windows Application" project, especially if don't want the console to show up. In such case, to avoid replacing main by WinMain, you can link with SFML_Main static library and keep a standard and portable main entry point.
I have no idea what this means. When I run the .cpp file that you can download at the bottom of the page, it creates 2 windows: the application window and a console window. My questions are:
1. What is a static library, and how do I link it?
2. Which should I include in my program: main(), WinMain(), SFML_Main or a mix?
Additional information: I'm using the Code::Blocks IDE and I'm running it on Windows 7.