Posted 13 July 2009 - 01:00 PM
So long as you stick with ANSI C++ ... and don't use the extensions provided by compiler developers, than your code should work no matter what compiler you use.
There are multiple compilers because different companies developed different compilers to make money ;) There are also different compilers, because you can compile ANSI C++ on Linux, Windows, Solaris, whatever. Different compilers work on different platforms.
- My statements do not establish the official position of Microsoft Corporation, and are my own personal opinion. (But you already knew that, right?)