Question:
Code blocks question?
Lulu
2012-09-06 12:18:03 UTC
I'm taking my first computer programming class, and we're using code blocks. I downloaded Code Blocks and installed it. I get to where it has the code for "Hello World!" and I went to test it to make sure it would run, but the following error keeps appearing:

"Assignment 1 - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be done.

I followed everything I learned in class, and I looked up information online, but I can't seem to find the problem. Thank you soo much to anyone who can help!! I appreciate it!!
Three answers:
tbshmkr
2012-09-06 14:42:12 UTC
Ensure you downloaded CodeBlocks with minGW

=

Code::Blocks == Open Source C/C++ IDE

- codeblocks-10.05mingw-setup.exe

- http://www.codeblocks.org/downloads/binaries

-

The other Windows download is CodeBlocks without a compiler.
?
2012-09-06 12:42:51 UTC
Did you select ".cpp" where a pop up had that long list of file extentions? That will allow codeblocks to run c++ files. You can find it somewhere in the settings.
?
2016-09-20 06:48:04 UTC
In addition to the opposite reply. cmath so much customarily will incorporate math.h. So have a seem on the math.h dossier to discover out the services to be had. cmath is the c++ variant of math, that's all.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...