Notepad++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Notepad++

How can I run C++ in notepad++

30th Jan 2020, 4:20 AM
Tom
Tom - avatar
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..
30th Jan 2020, 4:27 AM
Scooby
Scooby - avatar
+ 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
30th Jan 2020, 4:30 AM
Taste
Taste - avatar
+ 2
Great thanks. Got it!👍
30th Jan 2020, 4:30 AM
Tom
Tom - avatar