I'll explain what each line does, so you can edit it as you see fit. Now open Notepad++ and hit F6 to bring up the execute window. I have something like 5 versions of g++ floating around my computer, and it kept running an old version.
#HOW TO USE NOTEPAD++ USING CODEBLOCKS INSTALL#
At this point test the install by running: g++ -version in a command prompt. You may need to add that path to the windows path system variable I already had it in there from a past install of MinGW. Just extract that to some path with no spaces (spaces may work, but are generally a bad idea), and run the batch file. I went with this version because it came with a lot of useful libraries like boost. MinGW is the standard way of doing this on Windows. It comes as a zip of one dll and two folders, just put them all in the plugins folder of Notepad++. The first step is to acquire nppexec, which used to be bundled with Notepad++ but isn't any more. I decided to explain the process I used here for future reference. I decided to make it work, and in researching how I found a lot of old info. I knew Notepad++ could run programs and that I could just compile directly via command line from it, I had just been too lazy to set it up. The problem is that it hasn't been updated in a long time, and it still uses g++ 3.4.2 which is close to 10 years old. Still, it has worked for years, and continues to. Dev C++ is an IDE that uses g++ to compile, so it's pretty silly to use it as a middle man. The system I've been using for years is to edit in Notepad++ then hop over to Dev-C++ to compile. These days I mostly use Perl so I don't have to worry about anything else, but I occasionally use C++ for speed in numerical tasks.