Linux powerful Ide--geany configuration instructions

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.