Run code in Different compilers

This tip submitted by Naren Varma on 2005-05-17 16:37:28. It has been viewed 45208 times.
Rating of 5.6 with 272 votes

Once you are have successfully run code in a C/C++ compiler, run the same code in two or three different compilers (for instance, the GCC Compilers) to make sure your code is more portable and not dependent on the compiler.

More tips

Help your fellow programmers! Add a tip!