Type: Posts; User: oogabooga
Sounds like you've set your project for a Windows program instead of a Console program.