

If not, then you will have to download the. If you have Visual Studio 2008 installed, then you already have it on your PC. For this article, I am going to use CL, the Microsoft C/C++ compiler, version 9.01 for 80×86. Obviously, you will need the C++ compiler from Microsoft, this being the most important part (you can compile C++ programs from command line, even without a text editor, but without a compiler you are pretty much stuck).

Once you get this done, it will be fairly easy to customize the compilation options on your own.įirst of all, you need to download and install Notepad++ (well, there are many other plain text editors out there that can be customized to do the same thing, but I am using Notepad++). Please note that I am not going to do an in-depth description of all possible compiler parameters, but will much rather show you how to setup a ready-to-work compilation environment.


If you are interested in doing the same, then read the next part of this post. Now, sometimes I wanted to work on something real quick (like a small program or snippet), so loading Visual Studio for the sake of editing a single source file was a bit out of line (although performance is not the issue – it still loads really fast), so I decided to go another way – to set up a simple text editor ( Notepad++ in my case) to be able to compile C++ programs by using the Microsoft C++ compiler. NET and I would really like to work with managed C++, as well as with unmanaged in one environment), started a couple of sample projects and got the basic ideas. I picked up a Visual C++ 2008 book (I wanted to start with Visual C++ since I already have some experience with. Recently I decided that I need to work more with C++ than I do now (my primary focus being C#). Going The C++ Way With Microsoft C And C++ Compiler And Notepad++ An outline of my journey to explore C and C++ with the native Microsoft compiler and some minimal tooling.
