Want to run C language, we can use notepad software for editing, then how to run the C language development environment with Notepad configuration?
notepad++ is a very good editor, can be used to develop a lot of tools, specific people please see below for you to explain in detail.
First open the notepad++ software and go to the main interface.
Open the menu bar to run, click on it to run, or press F5. The Settings dialog box pops up.
Fill in the exact information in the Popup Settings dialog box: cmd/k gcc-o "D:\study\$ (name_part). exe" "$ (Full_current_path)" & PAUSE & EXIT Then the name is compiled C, and the shortcut key is set by itself. Same second: cmd/k "D:\study\$ (Name_part)" & PAUSE & Exit name for Run C, shortcut keys to set themselves. Set it up and close the dialog box later.
Then the software simply tests the program to see if it passes. The program specifically:
#include
int main (void)
{
int i1=1,i2=2;
int sum=i1+i2;
printf ("%d\n", sum);
return 0;
}
Then click Compile C and run C, and the final Test passes. Congratulations, you can use this compiler to program.
Attention:
D:\study for the program output location, this needs to set itself.
How to run a C voice environment with Notepad configuration