any ideas how to solve this?: I am using Visual Studio 2008 for compiling c++ programs and when I press f5(which is at default, the start debugging button) the console window flashes for a bit and then closes, but when I click on start without debugging, the console window stays put on my monitor, it's kind of wierd and I do not know what's causing this. I swear I've used void main here and even tried int main with return 0 but didn't work. If someone knows a fix on this kindly reply to this thread before I try reinstalling my VS 2008, maybe I've just touched on something in my settings, not sure. Thanks in advance.