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

Next 30

Help your fellow programmers! Add a tip!