I am new to this but I have written enough stuff in html to know something is wrong. I downloaded and installed the Code::Blocks 10.05 and ran the simple code of "Hello World". It gives me an error both in the code but will run but then there is an error message there also. Does anyone know if there is something wrong with that compiler?
Code::Blocks is not a compiler. It is an IDE that makes it easy for you to use a compiler. It will work with a wide variety of compilers. The problem is almost certainly not with your compiler.
Note that Code::Blocks expects you to provide the compiler, or (if using windows) you can download the version of Code::bocks that comes bundled with a compiler. On the assumption that you're using windows, did you download the version that comes with a compiler, or have you provided one to Code::Blocks?
Can we see your code please, put it inside code tags, [code_] //code goes here [/code_] without the underscores. Codeblocks isn't a compiler, it's an IDE (Integrated development environment), it comes with gcc by default. What is the error message it gives?
The error message is: Process return 0 <0x0> excution time:
Now that I look at that it may not be an error message. Is there a clear command like there was in basic programming that will clear the process return message.
Indicates that your program returned a value of 0 to the operating system. (Ran Successfully)
This means that your compiler is working, and your program compiled and ran fine. I think that code::blocks has an option to keep the console open after the program ends, but can't remember it off-hand.
Good Luck
* - I'm both the ninja and ninja'd here. First time for everything.