Wanting To Make Notepad++ A C And C++ Compiler
-
Hello! I’m Pallie And A Developer. I’ve Always Wanted To Make Notepad++ A C++ And C Compiler In Windows 7. Because, I Was Born With Windows 7. (I Wish I Could Use Linux) Anyway, Can Somebody Help Me Out?
-
Notepad++ is a text editor, not a compiler.
However, after typing your code in Notepad++, the following might help you call an external compiler:
FAQ: How do I use Notepad++ to Compile my Source Code (or Convert My Text)?Regarding Windows 7: while Notepad++ still technically works in Win7, the developer doesn’t actively support it, because MS doesn’t support that OS, and hasn’t for years.
-
@PeterJones Not A Bad Idea But With Like Step-By-Step Tutorials, It Will Be GOOD.
-
@PeterJones You Could Mention Libraries Too
-
Not A Bad Idea But With Like Step-By-Step Tutorials, It Will Be GOOD.
You Could Mention Libraries TooThe FAQ is sufficient for anyone who already knows how to compile their code; once they know that, they can just put those compilation commands into the examples given. That’s as “step-by-step” as anyone who knows how to code needs. Libraries are done inside Notepad++ the same way they are when typing C/C++ code in any text editor; and passing libraries to the linker is done in Notepad++ the same way it is with any command-line compiling. All Notepad++ (and the Run menu or NppExec plugin or whatever you choose from the FAQ) are doing is helping you to “memorize” those command line calls, so that you don’t have to type them completely every time you compile.
If you need help learning C/C++, or learning how to compile and link C/C++ from the command line, there are about a gazillion webpages that already exist that explain how to do that – a forum focused on Notepad++ text editor is not the best place to look for details on the elementary learning of coding. Once you learn and understand coding in general, and compling-and-linking from the command line, then doing that from within Notepad++, using the information in the FAQ, is a piece of cake.