How to use notepad configuration to run the C voice environment, notepad voice
To run the C language, we can use Notepad How can I use notepad to configure and run the C language development environment?
Notepad ++ It is a good editor that can be used to develop many tools. For details, see the following.
First open the Notepad ++ software and enter the main interface.
Open "run" in the menu bar, click "run", or press F5. The Settings dialog box is displayed.
In the displayed Setting dialog box, enter the correct information: Cmd/k gcc-o "D: \ study \ examples (name_part0000.exe" "$ (FULL_CURRENT_PATH)" & PAUSE & EXIT
Then the name is compile c, and the shortcut key is set by yourself. Similarly, the second one: cmd/k "D: \ study \ $ (NAME_PART)" & PAUSE & EXIT is named run c, and the shortcut key is set by yourself. Close the dialog box after setting.
Then test the program in the software to check whether it passes. The specific program is:
# Include
Int main (void)
{
Int i1 = 1, i2 = 2;
Int sum = i1 + i2;
Printf ("% d \ n", sum );
Return 0;
}
Click compile c and run c, and the test passes. Congratulations! You can use this compiler for programming.
Note:
D: \ study is the output position of the program. You need to set it yourself.