How do I build and run "hello world! I love programming! " In c++ codeblocks? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I build and run "hello world! I love programming! " In c++ codeblocks?

when I edit code and try to build and run program "error saving file" message pops up and runs last code

22nd Jan 2017, 10:42 PM
bradley
bradley - avatar
4 Answers
+ 3
Make sure you have a compiler, IDE and compiler are 2 different things
23rd Jan 2017, 12:56 AM
Wen Qin
Wen Qin - avatar
0
Have gcc gnu. ive written and compiled in codeblocks before but when I edit, following sololearn curriculum, get error message now. what could have changed?
23rd Jan 2017, 1:02 AM
bradley
bradley - avatar
0
Figured it out! I was trying to edit and run the main tutorial. I wasn't authorized to save and build the program. so I saved it as a new file and reopened it. no problems now!
23rd Jan 2017, 5:48 AM
bradley
bradley - avatar
0
Same here. I'm new to C++ and am going through all of the basics, but it tells me: "SoloLearn - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping... Nothing to be done. I have to choose between creating a debug and/or release configuration. Neither worked for me.
28th Mar 2017, 2:32 AM
Kazi Chizune