http://www.compilers.net/Dir/Free/Compilers/CCpp.htm
Microsoft has a good free compiler, but if you're working on unix or mac that will do you little good.
Borland has a good free compiler as well.
I have tried out several free compilers and feel most comfortable with the Dev-C++. The total package is relatively small in size and comes in windows and linux flavors. For me it is perfect to test out the limits of the C++ language. It compiles fast and makes experimentation easy.
I recommend you this software called Digital Mars C/C++ Compiler,and you can get it from
http://www.brothersoft.com/digital-mars-…
it is a free C/C++ compiler for the for Win32, Win16, DOS32 and DOS environment.