Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Hello says hello world
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Hello says hello world (Read 3852 times)
zdubair
Multiple posting newcomer
Posts: 13
Hello says hello world
«
on:
November 17, 2015, 09:08:59 pm »
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
Logged
stahta01
Lives here!
Posts: 7786
Re: Hello says hello world
«
Reply #1 on:
November 17, 2015, 09:20:31 pm »
http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
Read and follow the link; if you fail to see the problem post full rebuild log!
Tim S.
Logged
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ.
http://wiki.codeblocks.org
scarphin
Lives here!
Posts: 640
Re: Hello says hello world
«
Reply #2 on:
November 17, 2015, 11:02:18 pm »
Have you tried and rebuilt your project successfully? Are you sure you are not running an old build?
Logged
zdubair
Multiple posting newcomer
Posts: 13
Re: Hello says hello world
«
Reply #3 on:
November 17, 2015, 11:13:13 pm »
Hello, tx for answers...
I had misunderstod how the program works and yes
it was an old build...
works fine now...
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Hello says hello world