I am not able to run my c++ program in code blocks | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I am not able to run my c++ program in code blocks

its showing the compiler set up is invalid so code::blocks can't find/run my program and I am not able to install GNU GCC compiler

8th Jun 2017, 1:11 PM
george bhokta
george bhokta - avatar
4 Answers
+ 3
I remember I had same problem long time ago. Though I forgot how I fixed it :D anyways, I see two options. 1. You can uninstall your current codeblocks, then download codeblocks with compiler included and install them. 2. If that doesn't work, you'll need to install compiler manually. For Windows, I reccommend using minGW compiler. And if you are on Linux, use GNU. Not sure for iOS. Hope this helps!
8th Jun 2017, 4:13 PM
Eligijus Silkartas
Eligijus Silkartas - avatar
0
uninstall code blocks & reinstall it.
8th Jun 2017, 1:40 PM
M. Oly Mahmud
M. Oly Mahmud - avatar
0
I did but it didn't work
8th Jun 2017, 1:48 PM
george bhokta
george bhokta - avatar
0
I'd recommend you to use microsoft visual studio. You don't need to install any other compiler. I'm here for help if you need.
8th Jun 2017, 2:39 PM
Sunmola Ifeoluwapo
Sunmola Ifeoluwapo - avatar