Configure the C + + compile-run environment with the EditPlus and MinGW g++

Source: Internet
Author: User

Today I try to use EditPlus and g++ to configure, and then please see my configuration process. (MinGW installation configuration in my previous post, MinGW in the Win7 under the loading, setting and use )

1. Open the EditPlus "Tools"-> "Configure User Tool", next we will see the user tool configuration interface, the following figure: here if we have already configured a lot of tools, I suggest you to the user tools for the group, the group is very simple only need to click " Group Name button is on the line. The following figure:
2. We first configure the C + + compiler function.

Command: D:\mingw\bin\g++.exe
parameter: "$ (FilePath)"-O "$ (filenamenoext)"
Initial directory: $ (filedir)
action: Capturing output
Note: D:\MinGW\ is my MIBGW installation directory, you need to make changes according to your actual situation
Detailed setup status as follows:
3. Next, configure the functions of C + + running.
Command: $ (filenamenoext)
parameter:
initial directory: $ (filedir)
action: None
Detailed setup status as follows:
4. Finally, in order to facilitate the opening of C + + source files at any time to save the folder, we have to configure the working directory, if you do not feel the need to, you can skip.
Command:%windir%\explorer.exe 
parameter:/n,/e,d:\dev\c++
initial directory:
action: Close window when exiting
Note:/n,/e,d:\dev\c++ is my C + + source file save directory, you need to be based on your actual situation to make changes
Detailed setup status as follows:

OK, so you can use EditPlus to develop C + +, as for code completion and code hints, you can configure the EditPlus installation directory of the. cpp file and the. stx file can be implemented. The following figure:

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.