After the installation is complete, open editplus and select "Configure user tools..." under the "Tools" menu,
Enter the "parameter" dialog box. In this dialog box, you can configure a user tool to connect to an external Program , Complete C and
Compile and run the C ++ program. To link to the C ++ compiler, you must first have a compiler under the command line. Me
It uses the GCC compiler that comes with Dev-C ++. The following describes the compilation configuration.
Click "group tool" and select a program. A command tool is added. Fill in the menu text box
Command name, such as "C compilation". There is a "..." button on the right side of the "command" text box. Click it to select
Select the GCC compiler program you are using. I chose the GCC program under the bin folder of the dev-CPP installation directory. However
Enter the running parameters in the parameter text box, and click the button on the right of the text box.
Some parameters of the row describe the name of the file being edited, the full name of the file with the path, the path of the file, and so on.
To make the compiled EXE file name as the file name of the source program, the following parameters should be used:
$ (Filepath)-o $ (filedir) \ packages (filenamenoext0000.exe
$ (Filepath) indicates the file path, $ (filedir) indicates the directory where the file is located, and $ (filenamenoext) indicates no
File name with the extension. The generated EXE file is in the same directory as the source file. After this step, configure
C compiler. To configure the C ++ compiler, you need to change the command to G ++. This command is also installed in the dev-CPP installation project.
Directory. Now use editplus to open a C language source program and click the tool bar like a hammer
Click the button to compile the source file. If you do not see the user tool group, use "View-> toolbar/View-> Use
User toolbar "to display it. In this case, editplus opens a command window to generate executable files after compilation.
It is in the same directory as the source file.
To display the compiled information in the editplus window, capture the output. Open the original user
In the configuration dialog box, select the original tool and select the "Capture output" check box to complete compilation.
It is displayed in the output view of editplus. If a compilation error occurs, click the error to jump to the row where the error is located.
.
The following describes how to run the compiled program in editplus. To this end, add a user
And enter the following parameters in the Command text box:
$ (Filedir) \ Users (filenamenoext0000.exe
Click "OK ". Click the second user tool to run the executable program you generated. You can also capture
Output to the output view of editplus, but editplus does not accept input.
It cannot run normally.
In the same way, you can configure the Java development environment.
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