User forums > Using Code::Blocks
Hello says hello world
(1/1)
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:
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.
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...
Navigation
[0] Message Index
Go to full version