+ 2

Code::Blocks C++ Help? [SOLVED]

I've downloaded, installed, reinstalled, messed with settings but no matter what I do, I cannot get code blocks to run the basic 'hello world' program, and this one wasn't even written by me. No windows pop up, I see no errors, i don't know what is going wrong.

12th Apr 2020, 3:58 AM
Briar Rose
Briar Rose - avatar
42 Answers
0
It seems that you have wrong project path (folder where project is stored). Does it contain spaces?
12th Apr 2020, 6:52 AM
Stephan
Stephan - avatar
+ 7
Hi. Could you send screenshots after starting a program and a list of your actions? Information about your OS and compiler also would be helpful.
12th Apr 2020, 4:52 AM
Stephan
Stephan - avatar
+ 3
I recommend you to read this article about asking questions. It can help you to be understood when you ask someone and get the answer faster. https://www.freecodecamp.org/news/how-to-ask-good-questions-as-a-developer-9f71ff809b63/
12th Apr 2020, 5:04 AM
Stephan
Stephan - avatar
+ 3
I did. My issue was special characters and spaces in my path. My issue is resolved and everything is working properly now
13th Apr 2020, 2:30 AM
Briar Rose
Briar Rose - avatar
+ 3
The real solution is to switch to a better IDE
13th Apr 2020, 5:50 PM
Michael David
Michael David - avatar
+ 1
Windows 10, code::blocks 20.03, full installation, default settings for c++ as I understand it. I just started yesterday (technically the day before, but i don't count until i sleep) I've read the article (thank you), but my problem is not the code, the first project that is opened wasn't written by me.
12th Apr 2020, 6:17 AM
Briar Rose
Briar Rose - avatar
+ 1
I think you didn't install mingw.
13th Apr 2020, 2:12 AM
Masud Rana
Masud Rana - avatar
+ 1
Seems like compiler isn't set yet?
13th Apr 2020, 3:18 PM
xkcd
xkcd - avatar
+ 1
🤔
13th Apr 2020, 10:33 PM
Christlove
Christlove - avatar
0
Which project template have you chosen?
12th Apr 2020, 6:25 AM
Stephan
Stephan - avatar
0
I opened a new project, choose c++, and it opened the basic "hello world" program
12th Apr 2020, 6:28 AM
Briar Rose
Briar Rose - avatar
0
The same code as in the "hello world" lesson
12th Apr 2020, 6:29 AM
Briar Rose
Briar Rose - avatar
0
What is output in "Build log" tab when you press the build button (gear icon)?
12th Apr 2020, 6:32 AM
Stephan
Stephan - avatar
0
oh, template, I think that's the console application
12th Apr 2020, 6:32 AM
Briar Rose
Briar Rose - avatar
0
I don't have a 'build log' tab, and I don't know how you send screenshots on desktop sololearn
12th Apr 2020, 6:36 AM
Briar Rose
Briar Rose - avatar
0
Press the F2 key. So it appears below code editor
12th Apr 2020, 6:38 AM
Stephan
Stephan - avatar
0
Oh! 'Logs & others'?
12th Apr 2020, 6:40 AM
Briar Rose
Briar Rose - avatar
0
To send screenshots you can use any cloud (Google drive etc)
12th Apr 2020, 6:40 AM
Stephan
Stephan - avatar
0
Yes, it is
12th Apr 2020, 6:41 AM
Stephan
Stephan - avatar