Author Topic: .cpp programs build but no output shown  (Read 5711 times)

rilian

  • Guest
.cpp programs build but no output shown
« 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: .cpp programs build but no output shown
« Reply #1 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org