C and C++ Programming Tips

Welcome to Cprogramming.com's repository or tips for programming in C and C++. Peruse the archives or add your own tips for others to use!

Sort by clicking on any of the headers.

TipAuthorRating (votes)
creating a messagebox on WindowsAmarjeet Kawathe 2.8
Decompose before you codeAbhinandan Pandey 2.7
Rounding a floating point number to a near-fractionSteven 2.7
Never return a non-const pointer to a data member!hussain hani 2.6
Don't increment the same variable multiple times in one statementsidra 2.6
Cute but dangerous code, finding the larger integer without using comparisonsPrakash Samy 2.3
Full Abstract class/InterfaceRamakrishna 2.2
static member functions and this pointerdhruv shekhawat 2.2
Use preincrement with iteratorsDirk Tjantele 1.9
This Technical tip explains how to concatenate multiple TIFF images using Aspose.Imaging for .NET. sherazam 1.3
Private type in public class scopeIgor 1.0
Understanding the Principal of Referenced Object & Referencing Object.Eddy Wu 1.0
XOR swap: Swaping the values of 2 variables.John Rambo 1.0
Reference to Array of Function Pointer.Eddy Wu 1.0
fast input functionYashpreet singh 1.0
This technical tip shows how to read the image and get all the barcode regions, for all the recognizsherazam 1.0
decoding * and inc/dec operator combos like *++p , *p-- ,etckishore 1.0
This technical tip shows how to use Aspose.Pdf and Aspose.Cells for converting the excel worksheet isherazam 1.0
This technical tip explains how to load a Microsoft Outlook Messagefile (*.msg). The MapiMessage clasherazam 1.0
This technical tip show how developers can create Pivot Tables and Pivot Charts using Aspose.Cells csherazam 1.0
Fast way to reverse the bits in a byteJohn Hite 1.0
This technical tip explains how to read outlook email template File (.OFT) using Aspose.Email for .Nsherazam 1.0
This technical tip show how developers can covert entire workbook into text or CSV format. Sometimesherazam 1.0
This technical tip shows how to allow or disallow privileges on PDF document using Aspose.Pdf for Jasherazam 1.0
This technical tip shows how an Excel XLS document can be converted to PDF file. Aspose.Cells componsherazam 1.0
Enums instead of const member variablesMotiram Patil 1.0
Use Enums instead of const member variablesMotiram Patil 1.0
increase 1 without using +-*/henry zhang 0.0
>>using-basic-arithmatic>swapping without temp>>>using basic arithmaticAKshaY sable 0.0
Execute Mail Merge & Produce Multiple Word Documents in C# & VB.NETsherazam 0.0

Next 30
Previous 30

Help your fellow programmers! Add a tip!