I'm new to this forum and just started learning C++. I have Windows XP and my compiler is Bloodshed DEV/C++ 4. I started the tutorial and tried to compile the first program. Once I opened the .exe file, it closes immediately, but if you're very fast, you can see that it does output 'Hello world!'. I really don't understand what went wrong, so I included the .cpp file. I hope that anyone could help me.