For me, it worked to show the output of a C program correctly in cases if there is no user input required. For example, for the simple program to add two numbers, I need to enter the numbers. After I click on "Run C", nothing happens in the console and it stops at "Process started (PID= ) with some number after PID. How do I fix this?
I'm not sure if you solve your problem or not. But I think that after you execute the program, you can find the exe file in the same folder. So that you can enter the value inside that exe file.
You have to install nppexec and a compliler for it from within Notepad++. Check out any tutorial video on how to do that and follow instructions. That is what I did and it worked fine.@@mb59621
solution: NPP_SAVE cd $(CURRENT_DIRECTORY) gcc $(FILE_NAME) -o $(NAME_PART) if $(EXITCODE) != 0 exit endif cmd /c start "Programa" "$(NAME_PART)" this opens up cmd for the input only thing to note is that it requieres notepad opens as admin
I think it's in the NppExec Advanced Options menu on the bottom right you see Background Color. You need to add the RGB value for the color you want. You will have to change the text color too.
it shows NPP_EXEC: "CBuildRun" NPP_SAVE: C:\Users\justi\OneDrive\Desktop\c++withnotepad++\test.c CD: C:\Users\justi\OneDrive\Desktop\c++withnotepad++ Current directory: C:\Users\justi\OneDrive\Desktop\c++withnotepad++ gcc test.c -o test Process started (PID=7824) >>>
@@rise8997 did you find any method, I've tried code blocks (Didn't liked it at all) Kdev had good UI but for some reason it just didn't gave me build directory option after making a project like others got in tutorials and hence i wasn't even able to execute any programs. Vs code is simply too laggy to even work. Sublime text doesn't even start up. Eclipse didn't worked as well.
This was actually very helpful. All the stack overflow forms were not clear at all.
1:11 This file has been downloaded incorrectly!
What you mean
Same, pls help
Try deleting the file and try again.
same error message, i just installed c++ from somewhere else and it worked
For me, it worked to show the output of a C program correctly in cases if there is no user input required. For example, for the simple program to add two numbers, I need to enter the numbers. After I click on "Run C", nothing happens in the console and it stops at "Process started (PID= ) with some number after PID. How do I fix this?
I'm not sure if you solve your problem or not. But I think that after you execute the program, you can find the exe file in the same folder. So that you can enter the value inside that exe file.
Exactly same problem.. did you find any solution???
You have to install nppexec and a compliler for it from within Notepad++. Check out any tutorial video on how to do that and follow instructions. That is what I did and it worked fine.@@mb59621
ok ill try it out@@ar-ya602
solution:
NPP_SAVE
cd $(CURRENT_DIRECTORY)
gcc $(FILE_NAME) -o $(NAME_PART)
if $(EXITCODE) != 0
exit
endif
cmd /c start "Programa" "$(NAME_PART)"
this opens up cmd for the input only thing to note is that it requieres notepad opens as admin
Thanks
Super helpful!
so, have to do whole process everytime i make a new c/c++ code?
Very good job mate.
Thank you very much.
I am facing an error saying
$(FILE_NAME) no such file or directory , any solutions?
thanks man
Can you explain how to write verilog code format in notepad++
Wow! Very usefull, I was just not doing it right. I installed mingw64 with Msys2 which went OK...
This worked for me. Thank you very much.
very well done video
After enabling dark mode still the console is in white please help!
I think it's in the NppExec Advanced Options menu on the bottom right you see Background Color. You need to add the RGB value for the color you want. You will have to change the text color too.
@@TheHighpotinuse yes bro i did the same used rgb color codes
Bro am getting this error- 'end1' was not declared in this scope
bhai vo endl hota h mtlb end line
i am using windows command prompt directly ,i think its the fastest way , also using it for debuging with gdb
Now where can I see the output????
In the Console Part.. (Below your code)
Thanks you so much its working
Why is it so complicated ??
how do you even find something like this out? like i got the missing g++ error prompt but how do you go from that to finding all this out?
thanks to google ;)
google is always op
Thank You bro.😄
good job
Thanx
it shows
NPP_EXEC: "CBuildRun"
NPP_SAVE: C:\Users\justi\OneDrive\Desktop\c++withnotepad++\test.c
CD: C:\Users\justi\OneDrive\Desktop\c++withnotepad++
Current directory: C:\Users\justi\OneDrive\Desktop\c++withnotepad++
gcc test.c -o test
Process started (PID=7824) >>>
Thank you very much
Everything is ok but now showing output
download vs code then
كان الشرح مفيد جدا
its not working ;(
need help i manage to get it to work with c
please help me brother@@phantomboy09
@@phantomboy09 YES!!! PLEASE
thanks boss
Bro it takes lot of time to write some commands for execute a program, instead of wasting time in commands we should use an IDE
Ur right, vs code is good.
This is for those whose laptop can't run vscode due to low ram
Tell me which ide has supports running c++ without having to configure some things.
@@rise8997 did you find any method, I've tried code blocks (Didn't liked it at all)
Kdev had good UI but for some reason it just didn't gave me build directory option after making a project like others got in tutorials and hence i wasn't even able to execute any programs.
Vs code is simply too laggy to even work.
Sublime text doesn't even start up.
Eclipse didn't worked as well.
Thanks.
Doesn't work
why, what happened
@@mingji753 I did everything as he explained. But always a error message showed in the consol after I execute.
you are land 🤣🤣🤣🤣🤣🤣