News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Console Application stuck on Hello world!

Started by jmk13, February 02, 2017, 02:46:32 AM

Previous topic - Next topic

jmk13

I'm new to code:blocks and programming in general. I installed the codeblocks 16.01 with MinGW setup but every time I go to run a console application all I see is Hello world! in the console no matter what I type in the program. I could have "this sucks" in my 'cout' for the program and I would still see "Hello world!" in the console when I click run. Any ideas? Any help would be appreciated.

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]


ridge

Sounds like you have multiple projects (see Management section at the left of CodeBlocks).
The one that is BOLD is the current project.  Double-click the one you want to be current.
(Then Rebuild.)