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)
This Technical tip explains how to perform faster and better barcode image recognition using Aspose.sherazam 7.9
take care while using new and deleterajender 7.7
Increment and decrement counters with rolloverLee Walker 7.5
Don't increment the same variable multiple times in one statementsidra 7.3
Tips for writing programs for beginnerspradeep 7.3
XOR swap: Swaping the values of 2 variables.John Rambo 6.9
Reference to Array of Function Pointer.Eddy Wu 6.9
Rounding a floating point number to a near-fractionSteven 6.7
fast input functionYashpreet singh 6.6
This technical tip explains how to read outlook email template File (.OFT) using Aspose.Email for .Nsherazam 6.6
This technical tip shows how to use Aspose.Pdf and Aspose.Cells for converting the excel worksheet isherazam 6.6
decoding * and inc/dec operator combos like *++p , *p-- ,etckishore 6.6
This technical tip show how developers can create Pivot Tables and Pivot Charts using Aspose.Cells csherazam 6.5
This technical tip shows how an Excel XLS document can be converted to PDF file. Aspose.Cells componsherazam 6.5
Fast way to reverse the bits in a byteJohn Hite 6.4
Private type in public class scopeIgor 6.3
swap with out using temporaryraghava 6.3
Instantiate a singleton class i.e no more than one instance possibleAnjan Ghose 6.3
Cute but dangerous code, finding the larger integer without using comparisonsPrakash Samy 6.3
This technical tip shows how to read the image and get all the barcode regions, for all the recognizsherazam 6.2
Use ++ and --Subyraj P.S 6.2
Compiling 32-bit code on a 64-bit machinevinay Kumar 6.2
do not use printf without %s to print a stringpavan kumar 6.1
Determining if something was processed in a switch/case constructMarty Corbett 6.1
Make libraries for yourselfValseedian 6.1
The power of scanf()Joanna 6.0
Dynamic memory allocation of 2d arraysnandam 6.0
Convert String to SYSTEMTIMESaddam Abu Ghaida 6.0
Use multiple filesThantos 6.0
Member Functions are inline by default (C++)Ash 6.0

Next 30

Help your fellow programmers! Add a tip!