New course! Every coder should learn Generative AI!
Try a free lesson0
Notepad++
How can I run C++ in notepad++
3 Answers
+ 3
You can't run in notepad++ directly , you need a compiler to run c code like turbo c++, visual studio...etc
Meanwhile notepad++ used for text editor of any code..
after google it i find a solution but looks like bit of hard work to install a simple another compiler.. your choice..
http://www.edparrish.net/common/npp4c.html
Hope you understand..
Thank you..
+ 3
install compiler of your choice first.
you can add them to PATH for easier access later.
in notepad++ Run -> Run...
now type in the command you're usually using for compiling the code, with ${FULL_CURRENT_PATH} as the source file parameter.
ex. g++ ${FULL_CURRENT_PATH}
click run for one time use, or save if you want to use it again later
+ 2
Great thanks. Got it!👍