Today began to use Ubuntu (mainly to prevent themselves in the windows under the unconscious of playing games and so on) just started to use the very unaccustomed to find the right compiler (DEV C + + when can out Linux AH) successively under the CodeLite Code::Blocks will not match Set to see the online tutorial is not much to understand and then began to delve into geany here a little bit about how I configured geany as far as possible to those who just use Ubuntu oier a little help (here also spit a bit NOI custom Linux feel with a variety of uncomfortable and authentic Ubuntu simply Can't compare) ...
First make sure you've installed GCC and g++ (General Linux will have built-in) Here are also the installation methods:
Terminal input
sudo Install GCC sudo Install g++
The following interface appears
The next step is to install Geany.
sudo Install Geany
After the installation is complete, the terminal input Geany open the compiler and then the internal configuration.
First in the document-set file type-programming language set to C + + and then in the build-set build command, set the following:
Finally in the edit-preferences set to your personal style here is not more introduction
At compile time, the click-to-Start menu generation will jump out of a saved file interface Note that the name must be appended with the suffix name of the. CPP otherwise the compiler will not recognize:
Then press F9 to compile and then press F5 to run the executable, and here it is also important to note that when you modify the code you need to press F9 to recompile if you press F5 to run the last compiled file.
Linux powerful Ide--geany configuration instructions