User forums > Help

very beginning problem... / please help :(

<< < (2/2)

oBFusCATed:
Read the manual, read the FAQ in the wiki, read the forum rules and search a bit in the forum...

Being a nOOb is not an excuse for being lazy...

Joe:
Hi bradpetrelli,

I was able to get this code to compile, link and run by adding the 'using namespace std;' statement to the code. Below is the code sample with the added statement at line 2.

1.    #include <cstdio>
2.    using namespace std;
3.
4.    int main()
5.    {
6.        printf ( "Test Code::Blocks" );
7.        return 0;
8.    }

If this information did not help you, or if I am misunderstanding your question, please make another post. I will check back.

Navigation

[0] Message Index

[*] Previous page

Go to full version