User forums > Help
Help me please, I can't even get started learning programming
CrumblingAway:
I am running Code::Blocks version 13.12 on Windows 7. The compiler I use is GNU GCC Compiler.
When I simply try to build and run the first and simplest program, "Hello World", I get the error in the build log "----------- Build: Debug in Project (compiler GNU GCC Compiler) ------------" (without the parentheses of course).
Build log:
----------- Build: Debug in Project (compiler GNU GCC Compiler) ------------
I have already tried following the instructions on both the troubleshooting and FAQ pages, regarding building the project from the command line, which, assuming I did everything right, did not work (then again, I am not tech-savvy, only learning). I also tried selecting "Full Command Line" in the "Computer Logging" space under "Other Settings" in the "Global Compiler Settings" section, but it didn't help me with the problem.
As to a previous suggestion that I don't know what a compiler is: from what I figure, a compiler, well, compiles. It translates the lines of code we write into the ones and zeros the computer can understand so it can then build the program from it (correct me if I'm wrong).
Bottom line, I really want to get into programming, and it's frustrating that I have to deal with this "hindrance" from point one.
stahta01:
Till you give info on the real problem no one will be able to help.
Did you try to run your program?
Did you install a compiler on your computer?
Since, you are on windows if all else fails the rebooting your computer is always worth trying!
Tim S.
headkase:
See: Basics of Code::Blocks.
See: What is a Compiler.
See: Nightly Sub-Forum.
See: TDM-GCC.
The Basics link is a bit about Code::Blocks. The What is a Compiler link talks about compilers. The Nightly Sub-Forum has the recent versions of Code::Blocks, much newer than 13.12. And TDM-GCC is a separate compiler to download and install and use with the Nightly version once you have your head wrapped around it. If in doubt get the 32-bit TDM-GCC. Code::Blocks 13.12 is very old now, it was released in 2013, so you really do want to move to a recent Nightly for many improvements since. I really think official releases should be more often than they are but hey, it's their program. Just use a Nightly - they are released semi-regularly.
CrumblingAway:
I simply followed the instructions, simple as they are, from a video by Therealboston. Nothing complicated: enter the website, download the version with the complier, install Code::Blocks, try to build and run the "Hello World" program, which is already included in Code::Blocks.
So I downloaded, installed, set the settings as required, spent hours trying to figure out the problem with no results.
And I don't know how much clearer I can make this, I really don't.
I. Can't. Build. And. Run. The. Program.
When I click "build" or "build and run", it just shows me this message in the build log:
----------- Build: Debug in Project (compiler GNU GCC Compiler) ------------
That's it, end of story. Nothing else happens. I don't know what else you expect me to write. There is nothing else. I click, the message appears on the bottom part of my screen in the build log window and that's it. Nothing else happens.
headkase:
Also, Python is a great first-language. It was designed as "Computer Programming for Everybody."
See: Official Site (Download and install x86 (32 bit) Python 3.4.3.
See: WingIDE 101 (Basic IDE that supports debugging and is free for learning.
Install Python first then WingIDE 101.
Once you have both installed, head over to: Learn Python.
Seriously, if you are at the very beginning like you seem to be then C/C++ is not the friendliest language to start with. C/C++ is about 20 times faster than Python but that shouldn't concern you very much when you're learning basic programming constructs. And Python, even though it's slower, is still fast enough for many uses.
Navigation
[0] Message Index
[#] Next page
Go to full version