Building C++ files.
-
Quick question: Can you compile c++ files and run them in notepad plus plus? If so, can you tell me how?
-
This is “sort of” possible, which I’ll explain, but the high number of times this question (or a very similar one about web page coding/displaying) is asked alarms me because it really shows a fundamental misunderstanding. What a large number of people seem to not understand is that Notepad++ is a Text Editor. As such, all it really does is allow you to edit text files, just like standard Notepad. Nobody would ever ask if standard Notepad can “build C++ files”.
So…you can edit your C++ source files (text files) in Notepad++. And you can setup some “helpers” that Notepad++ can use to invoke your C++ compiler and linker, and you can even set up Notepad++ to tell Windows to run your program and capture its output, but Notepad++ isn’t “building your C++ files” or “running” them…other things are doing that.
If you understand that, then the NppExec plugin is your key to setting up the helper that builds and runs your C++ code. Do some searching and reading about how that plugin works.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login