🚩 🚩 Steps (with Timestamps) 🚩 🚩 00:00 Demo of compiling and running C program from Notepad++. 00:58 Install MinGW (Minimalist GNU for Windows) 01:42 Install GCC, GCC++ Compilers in MinGW 03:00 Setup an environment variable in PATH for MinGW's gcc.exe, so that Notepad++ can find the gcc.exe executable. 05:20 Next, install NPPExec notepad++ plugin to execute C Program. 05:50 Create a C Compiler script for Notepad++ NPPExec plugin. Copy the code below to create a new compiler option. 06:48 Create a menu item in NPPExec for C Compiler 08:00 Test run C Code from Notepad++ 09:55 Create keyboard shortcut for compiling and running C program from Notepad++
@fozzyprozzy1539
3 жыл бұрын
Thanks mate finally got it to work was gonna give up on coding
@AmitChristian
3 жыл бұрын
Glad to know that it was helpful. Thanks.
@Literally_Weird_Studios
Ай бұрын
this was so helpful
@AmitChristian
Ай бұрын
Glad to help.
@babceena6423
3 жыл бұрын
Hi, Sir. I followed the instructions. This message keep showing whenever I compile a code, "; about to start a child process: "a" CreateProcess() failed with error code 2: The system cannot find the file specified." ..... Maybe there's error somewhere but I 'm not sure where.
@AmitChristian
3 жыл бұрын
Czane, I did some research and it seems that this issue can be due to Path issue. Check out this Stackoverflow post which describe similar issue. (stackoverflow.com/questions/43069561/c-mingw32-createprocess-failed-with-error-code-2-the-system-cannot-find-the). Hope it helps.
@LNguyen921
2 жыл бұрын
Got the same issue too.
@scp-3027
Жыл бұрын
thank you so much for this 🙏
@AmitChristian
Жыл бұрын
You're welcome 😊
@w.s.sithumini9881
Жыл бұрын
thank you so much. very useful video.
@AmitChristian
Жыл бұрын
Glad to know that you liked it.
@nc7341
Жыл бұрын
Thanks a lot. I could set it up in one go.
@AmitChristian
Жыл бұрын
Thanks
@neerajchauhan2050
8 ай бұрын
Sir code not seeing properly which would be paste in the plugins execute NppExce command place, can you send me that code so that I can complete the process Thanks
@nirajbhuvad9440
2 жыл бұрын
thank you sir👍
@AmitChristian
2 жыл бұрын
Glad to know that it was helpful.
@Mankuthapa
3 жыл бұрын
Thanks sir, 👌👌👍👍👍👍
@AmitChristian
3 жыл бұрын
Neo thapa, thank you. I am glad it was useful.
@gojotricked
2 жыл бұрын
great video very helpful
@AmitChristian
2 жыл бұрын
Thank you Louis. Please like the video if you can.
@MusicWorld-xz4qe
2 жыл бұрын
thank you for this video
@AmitChristian
2 жыл бұрын
Music World, thank you. glad that it was useful. Please like or subscribe, if you can. Thanks.
@yogeshvashisth2172
Жыл бұрын
I found gcc in bin but its not not gcc.exe however its of same size as gcc.exe
@AmitChristian
Жыл бұрын
Is it possible that the gcc extension is hidden in windows explorer?
@nishapv5129
6 ай бұрын
Thank you very much. But I am getting error as below, while running C code for printing 'Welcome'. NPP_EXEC: "C Compiler" NPP_SAVE: C:\CPrograms\a.c CD Current directory: C:\Program Files\Notepad++ C:\minGW\bin\gcc.exe -g "a.c" Process started (PID=18376) >>> gcc.exe: error: a.c: No such file or directory gcc.exe: fatal error: no input files compilation terminated.
@AmitChristian
6 ай бұрын
Nisha, it could be due to spaces in the "Program Files", please take a look at this that goes into gcc compile error due to spaces in folder name. (superuser.com/questions/804276/gnu-gcc-compiler-fails-to-compile-when-path-contains-spaces-c)
@nandanihada4461
3 жыл бұрын
Well Explained, thanks it worked for me.
@AmitChristian
3 жыл бұрын
Thank you. I am glad that it was helpful.
@sarangsalunkhe8032
Ай бұрын
Sir which version of notepad ++ have installed
@dixitvara
Жыл бұрын
i followed the instructions and when user needs to give the input at that time i print message first that "Please enter numbers to addition" and i write after scanf function to take input but in console it takes input first and print message afterwords . any solutions ???
@ojeid2915
2 жыл бұрын
Hi, thank you for this video. I have a little question: everything worked, but when i try to open the .exe file, it start but the console closes immedialty. How can i keep the console open? Sorry if this is a stupid question :c
@AmitChristian
2 жыл бұрын
@Ojeid, when the exe file is executed, it will close it after its execution. So, that is why you are seeing that it closes immediately. You can open a command prompt and then execute the exe in that. Then you will be able to see that it is printing "Hello World" in a console window.
@Samsam-mu7bi
3 ай бұрын
Hello, I get this error whenever I try to compile: ; about to start a child process: "a" CreateProcess() failed with error code 2: The system cannot find the file specified. How do I fix it ?
@kingworld-v3i
6 күн бұрын
i know where you getting problem you just rename your file like "hello.c" (apply dot C) and fu$kk the problem because the problem has been solved now.
@deepakkavale2787
8 ай бұрын
Can we change the name of the compiled file from a.exe to any file name. Exe
@AmitChristian
7 ай бұрын
Yes of course you can
@engineer483
2 жыл бұрын
Thanks
@AmitChristian
2 жыл бұрын
Saliha, you're welcome. (please like the video if you can). Thanks.
@mrgabslethal4330
3 жыл бұрын
thank's for this video sir but i have a question; where did you get the code you inserted when you were asked for command(s)? cause i did all the steps and i'm blocked there ie i don't know were to get the code from; if you could help me with that please
@AmitChristian
3 жыл бұрын
If I understand your question correctly, the code is included in the description of the video. Here it is. NPP_SAVE CD $(CURRENT_DIRECTORY) C:\minGW\bin\gcc.exe -g "$(FILE_NAME)" a
@Edutroniko
Жыл бұрын
error: ; about to start a child process: "a" CreateProcess() failed with error code 2:
@AmitChristian
Жыл бұрын
Not sure what is this error due to. Does it create a log file that we can take a look for the error.
@drivedownload7971
2 жыл бұрын
How to take input from the user ??
@AmitChristian
2 жыл бұрын
Once you compile c code, it should be able to take an input. Does it not work ?
@nithinkumar6825
2 жыл бұрын
i can't use graphics.h header file
@AmitChristian
2 жыл бұрын
Nithin, what error are you getting?
@tarakarajeswararao731
2 жыл бұрын
iam not able to see the output in console but the programm is not having any errors
@AmitChristian
2 жыл бұрын
Taraka, sorry to know that you are having issues with it. Did it create and executable file (.exe)?
@AmitChristian
2 жыл бұрын
taraka rajeswararao, did it work?
@emanueleromano2633
Жыл бұрын
@@AmitChristian i have the same problem, and it does create a new file, but no output sadly
@emanueleromano2633
Жыл бұрын
okok, it work, basically, sometimes the antivirus will block the exe file making it unable to execute propely, so... deactivate the antivirus first and see how it work
@atom2919
Жыл бұрын
bro can u help me i cant run the code at the end u tell me to try and it is not working
@AmitChristian
Жыл бұрын
Are you getting any errors? Is it compiling the code correctly?
@atom2919
Жыл бұрын
@@AmitChristianno it just cant run it
@AmitChristian
Жыл бұрын
@@atom2919 can you share your source code
@theleadersway980
2 жыл бұрын
hi , the title of the video in notepad++ do you do it manually or is there a way to generate it ?
@AmitChristian
2 жыл бұрын
Hello The Leader's Way, I am using ASCIIArt to create those. It is not manual, you can easily create with a single command. I will make a video about how to create those, as there are number of people who have asked me the same thing. It is pretty cool. I will send you a video link once I upload it. Thank you for your comments.
@AmitChristian
2 жыл бұрын
The Leaders Way, I have created a video that describes how to create ASCII text banner as you had asked. Please check this out. How to Create ASCII Text with Figlet on Windows and in Notepad++ kzitem.info/news/bejne/znmVtaqQspegiKQ
@jishankhan6686
2 жыл бұрын
I am not finding gcc.ex in bin.. what can i do
@AmitChristian
2 жыл бұрын
Jishan, it is possible that you may have downloaded and installed source code of MinGW. Look for mingw-get-setup.exe for downloading. Download it and launch the installer. Accept the terms and move on. If you still cannot find gcc.exe, please let me know.
@Mariajonnes
Жыл бұрын
@@AmitChristian I've downloaded mingw-get-setup.exe but I still can't find it in the bin. Kindly assist me in this
@AmitChristian
Жыл бұрын
@@Mariajonnes Did you install the mingw setup file? It should install in C:\MinGW, and you should find BIN directory in that folder.
@nithinkumar6825
2 жыл бұрын
geting error
@AmitChristian
2 жыл бұрын
Nothing, what error are you getting?
@nithinkumar6825
2 жыл бұрын
ok working in NppExec script at if give a.exe it showing output in notepad console
@AmitChristian
3 жыл бұрын
⚡ Hello Friends ⚡ hope you found this useful! Do Subscribe ♥ to my channel (kzitem.info/rock/bU0jmMgFAfmL1J1BHsEmAA) for more videos.
Пікірлер: 70