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

Next 30

Help your fellow programmers! Add a tip!