How to run a C voice environment with Notepad configuration

Source: Internet
Author: User

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

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.