I used the codeblocks compiler to write a program. When i hit the build/run button, it took me to windows command prompt and displayed ( Hello world! )... It just won't run anything i write.
I used the codeblocks compiler to write a program. When i hit the build/run button, it took me to windows command prompt and displayed ( Hello world! )... It just won't run anything i write.
Complete guess: you chose the "hello world!" project, opened up a new file, typed your program in the new file, and then didn't add the file to the project. Does one of your tabs in C::B have a program with "hello world" in it?
Yeah. That was it... That was back before I understood almost anything about using a compiler. I was just starting to teach myself programming.
I know this is a bump from some time ago, but the thread title had me in stitches.
I know I've thought that many times in my early years.
HOPE YOU UNDERSTAND.......
By associating with wise people you will become wise yourself
It's fine to celebrate success but it is more important to heed the lessons of failure
We've got to put a lot of money into changing behavior
PC specifications- 512MB RAM, Windows XP sp3, 2.79 GHz pentium D.
IDE- Microsoft Visual Studio 2008 Express Edition
Codeblocks is the company that makes what i concider a very good compiler...
<quote>
can u please tell me what is a codeblocks compiler?
</quote>
It's the name of a company that makes what i concider to be a very good compiler.
Code::Blocks is not a compiler; Code::Blocks is an IDE.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)