Home > Article > Development Tools > Teach you how to compile C/C++ using Notepad++
The following tutorial column of notepad will introduce you to the method of compiling C/C with Notepad. I hope it will be helpful to friends in need!
Then confirm all the way.
For Win7 users, if these things appear, it means the modification is successful:
cmd /k chdir /d $(CURRENT_DIRECTORY) & c++ $(NAME_PART).cpp -o $(NAME_PART) &$(NAME_PART).exeand click Save. Fill in the Name as you like (it is recommended to fill in RunC ), then determine a shortcut key yourself (of course, you can also be unsure, you can find it from "Run" in the menu bar), click OK, and then close the window. 6. Just write a program and press the shortcut key you just set. Will it run?
The above is the detailed content of Teach you how to compile C/C++ using Notepad++. For more information, please follow other related articles on the PHP Chinese website!