Author Topic: Console Application stuck on Hello world!  (Read 3904 times)

jmk13

  • Guest
Console Application stuck on Hello world!
« on: February 02, 2017, 02:46:32 am »
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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Console Application stuck on Hello world!
« Reply #1 on: February 02, 2017, 02:51:27 am »
Do a rebuild!
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


Offline ridge

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: Console Application stuck on Hello world!
« Reply #3 on: February 02, 2017, 09:34:18 pm »
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.)