Did you create a console project? e.g. File --> new --> project then select Console Application in the popup box.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
I hit F9 key of my keyboard, the programme didn't run.
On my Code::Blocks, F9 toggles a breakpoint. But to compile/link and run the program, you probably want to use F12. See the Code::Blocks' Build menu.
mitrmkar
Posting Virtuoso
1,809 posts since Nov 2007
Reputation Points: 1,105
Solved Threads: 395
On my Code::Blocks, F9 toggles a breakpoint. But to compile/link and run the program, you probably want to use F12. See the Code::Blocks' Build menu.
You may have an old version of the IDE. I have 8.02 and F9 is "build and run"
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
I have v. 8.02 too and for me, F9 really toggles a breakpoint (I think I'm using the default settings, not sure though). Anyway, it's probably best to open the Build menu and see what key does the trick.
mitrmkar
Posting Virtuoso
1,809 posts since Nov 2007
Reputation Points: 1,105
Solved Threads: 395