News:

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

Main Menu

Hello says hello world

Started by zdubair, November 17, 2015, 09:08:59 PM

Previous topic - Next topic

zdubair

Hi
I run this

#include <iostream>

using namespace std;

int main()
{
  cout << "Hello";
  return 0;
}

and it returns a window saying "Hello World"

How can  that be?

Greetings  zdubair

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]

scarphin

Have you tried and rebuilt your project successfully? Are you sure you are not running an old build?

zdubair

Hello,  tx for answers...
I had misunderstod how the program works and yes
it was an old build...
works fine now...