Powerful linux IDE-Geany configuration instructions, linuxgeany configuration instructions

Source: Internet
Author: User

Powerful linux IDE-Geany configuration instructions, linuxgeany configuration instructions

I started using Ubuntu today (mainly to prevent myself from playing games on windows) at the beginning, I was not used to finding a suitable Compiler (when can DEV c ++ come out of Linux?). codelite code :: blocks won't be configured. I don't know much about the tutorials on the Internet, so I started to study Geany. Here I will explain how I configured Geany and try to help oier who just used Ubuntu. (Here, I also spoke about NOI's customized Linux. I feel that it is not comparable to the authentic Ubuntu )...

 

First, make sure that you have installed gcc and g ++ (generally, Linux has built-in). Here we also provide the installation method:

Terminal Input

sudo apt-get install gccsudo apt-get install g++

The following page appears:

 

The next step is to install Geany.

sudo apt-get install geany

 

After the installation is complete, enter geany on the terminal to open the compiler. The following is the internal configuration.

First, set the file type to c ++ in the document -- set the file type -- programming language, and then set it in the generate -- set the generate command as follows:

Finally, set it to your personal style in edit-preferences, which is not described here.

 

During compilation, click the menu to generate the file. A file-saving interface will pop out. Note that the name must be suffixed with. cpp. Otherwise, the compiler will not be able to recognize it:

Then press F9 to compile and then press F5 to run the executable file. Here, you should also note that after you modify the code, press F9 to re-compile it. If you press F5 directly, it will be the last compilation. file

 

Related Article

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.