Code::Blocks

User forums => Help => Topic started by: rilian on October 12, 2009, 05:58:10 am

Title: .cpp programs build but no output shown
Post by: rilian on October 12, 2009, 05:58:10 am
I searched the forums for this issue but didn't see anything so I am posting.
I am running on windows 7 rc build 7100 and I installed codeblocks w/ mingw just fine w/o incident. I can start a console project using a .c file and it runs fine. When I start a new console project using c++, I can build the default helloworld project w/o errors but my only output is:

Process returned 0 (0x0)   execution time : 0.006 s
Press any key to continue.

I get no output from the cout statement. I have looked high and low and can't figure out what I am doing wrong. Any help would be appreciated.

I installed from the stable release w/ mingw included. Version 8.02 of codeblocks.
Thanks
Title: Re: .cpp programs build but no output shown
Post by: stahta01 on October 12, 2009, 03:37:22 pm
I installed from the stable release w/ mingw included. Version 8.02 of codeblocks.
Thanks

I suggest trying an newer compiler the MinGW included with Code::Blocks has issues with Vista it might also have problems with Windows 7.

Tim S.