News:

GinGly.com - Used by 85,000 Members - SMS Backed up 7,35,000 - Contacts Stored  28,850 !!

Main Menu

Tips to Programming

Started by thiruvasagamani, Jul 28, 2008, 01:59 PM

Previous topic - Next topic

thiruvasagamani

Try to put i != 0 rather than i
i != 0 is compared very fast on some architecture.


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.


Thiruvasakamani Karnan