How To Execute A C Program in Notepad++ - CodingFox
How To Execute A C Program in Notepad++ - CodingFox
Step1: Download and install the latest version of notepad++ from its
official website www.notepad-plus-plus.org for free of cost
Step2: Download and install MinGw gcc as explained in the previous
session.
Step3: Configure notepad++ for gcc
http://codingfox.com/1-9-how-to-configure-gcc-in-notepad-for-c11/ 1/4
7/16/2017 How to execute a C program in Notepad++ | CodingFox
For example if we save the file with “hello.c“, then the run command
replaces compiler script with gcc -o hello c:\…\…\…\hello.c
http://codingfox.com/1-9-how-to-configure-gcc-in-notepad-for-c11/ 2/4
7/16/2017 How to execute a C program in Notepad++ | CodingFox
"$(NAME_PART)"
http://codingfox.com/1-9-how-to-configure-gcc-in-notepad-for-c11/ 3/4
7/16/2017 How to execute a C program in Notepad++ | CodingFox
1 #include<stdio.h>
2 int main()
3 {
4 printf("Hello World");
5 return 0;
6 }
http://codingfox.com/1-9-how-to-configure-gcc-in-notepad-for-c11/ 4/4