C and C++ Programming Tips

Thanks for your interest in helping programmers everywhere by submitting a useful tip. Please keep your submission clean. All entries are reviewed prior to being posted. If you do not want your email address posted, please leave the email field blank.

Please surround any source code with <pre> tags to ensure proper formatting.
Your name:

Your email:

A short summary:

The TIP:

We reserve the right to edit all submissions for clarity and content.

More tips
Help your fellow programmers! Add a tip!