I have been teaching myself C for a while using DevC++ (using Wine on Fedora), and I downloaded Code::Blocks and absolutely LOVE it, but one problem... I can't run any of my code!
I have GCC installed, so I know I have a compiler. When I run the same code (just a simple Hello World program) on DevC++ it works fine. I tried messing with the settings of CB, but it still didn't work, so I just un-installed and then re-installed, so all the settings are as they first are, but still nothing.
When I press 'Build and Run' it says 'It seems that this file has not been built yet. Do you want to build it now?', and when I press 'Yes', nothing happens except in the bottom left, highlighted in red it says:
Compiling: /home/drake/Desktop/My Codes/C/helloworld_wiki.c
Linking console executable: /home/drake/Desktop/My Codes/C/helloworld_wiki
/bin/bash: g++: command not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings
But no 'black screen' comes up saying hello world! Please help, I really like Code::Blocks but I might as well just stick to DevC++ if it can't even output!