Add and connect the notepad plug-in to the C Compiler

Source: Internet
Author: User
Tags introductions
Notepad ++ is a powerful editor.ProgramApe programmers also come to join in ..




To put it simply, for families of notepad ++, notepad ++ has many difficulties, such as Notepad and notepad2... Among them, there are lighter and more powerful than it, but the most popular programmers seem to have chosen notepad ++, because it is not expensive, just choose the right one, huh, huh. As for why, you can check it online. As a result of the initial start, we can only introduce simple functions. Choose two simple and important introductions: 1. Add a plug-in: notepad ++ is powerful in that its various plug-ins enhance its scalability and customization. Add any plug-ins if you want to use any function. Of course, I don't know much about the functions of those plug-ins. Just list several commonly used plug-ins: textfx: No. 1 in the plug-in. The features include various notepad ++ I heard that it is a powerful editor, and as a programmer who is not a program ape, come here for fun. .

Simply talk about the family of notepad ++. Notepad ++ has a lot of hard brothers, notepad, notepad2. . . Among them are lighter and more powerful than it, but in the end the program ape seems to choose notepad ++, because not expensive, only the right one, haha. As for why, you can check it out online.

Due to the initial start, only simple functions can be introduced. Choose two simple and important introductions:

1. Add plugin:

One of the strengths of notepad ++ is that its various plugins enhance its extensibility and customization. Just add any plugin you want to use. Of course, I do n’t know much about the functions of those plugins, so let me list a few commonly used plugins:

TextFX: No.1 in the plug-in, functions include conversion, insertion, optimization, formatting and verification of various codes, etc., which can easily improve your work efficiency.

Spell-checker: Spell checker, go to http://aspell.net/ and download aspell and dictionary;

lighterexplorer: implement a view of file directories;

There are many plugins that are not introduced, and the method of adding plugins is quite simple: in the menu plugin-> plugin manager-> show plugin manager,

Then select the plugin you need to install

2. Introduce notepad ++ and gcc to compile and run the program

First make sure you have the gcc compiler installed. Include the path of MinGW \ bin in the environment variable path

The next step is relatively simple, find the notepad ++ menu run-> run, and enter the content in the pop-up dialog: cmd / k gcc -std = c99 "$ (FULL_CURRENT_PATH)" -o "$ (CURRENT_DIRECTORY) \ $ (NAME_PART ) .exe "& PAUSE & EXIT

gcc is a compiler for c. If you want to compile c ++, just change gcc to g ++ and delete -std = c99.

Then save: c compiling;

After saving it, you should be able to see it under running, click him to compile;

Similarly, to execute the compiled file, just run another command:

cmd /k"$(CURRENT_DIRECTORY)\$(NAME_PART).exe "& PAUSE & EXIT;

Save him as described above and use it next time. The meaning of the order can be checked online.
The conversion, insertion, optimization, formatting, verification, and so on can easily improve your work efficiency. Spell-checker: spell check. Go to Plugin-> plugin manager-> show plugin manager and select the plug-in to be installed. introduction notepad ++ and GCC connections to compile and run the program first, confirm that you have installed the GCC compiler. In the environment variable path, the path containing mingw \ BIND is relatively simple. Find the run of the notepad ++ menu-> run, and enter the content in the pop-up dialog box: CMD/K gcc-STD = c99 "$ (full_current_path)"-o "$ (current_directory) \ alias (name_part0000.exe" & pause & exitgcc is the C compiler. If you want to compile C ++, just change GCC to G ++ and delete-STD = c99. Then save: C compiling; after saving, you can see it in the run, click it to compile. Similarly, to execute the compiled file, you only need to run another command: CMD/K "$ (current_directory) \ namespaces (name_partcmd.exe" & pause & Exit; save it as described above and use it next time. You can check the command online.
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.