Standalone c++ compiler

Thomas picture Thomas · Jun 1, 2012 · Viewed 9.3k times · Source

I would like a standalone C++ compiler that doesn't need installing. Something that can run from a directory or from a USB key.

I have googled it, but I can't really find exactly what I am looking for. It doesn't matter if it is just a command line compiler or if is an IDE. I would appreciate a link to the page where I can actually download the file that I need.

Since I am still new to C++, just to make sure that you all understand what I am looking for: I would like a program so that I can run that program on a source file (.cpp) and produce and executable.

I am on 64 bit Windows 7.

EDIT: Just to be clear. I would prefer if I could simply just download a zip-file (or something like that) and unzip it into a directory on the computer and then boom it works.

Answer

James McNellis picture James McNellis · Jun 1, 2012

I recommend STL's MinGW distro, which is xcopyable and includes the latest GCC (currently, GCC 4.7).