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)
Enums instead of const member variablesMotiram Patil 5.1
Error handling for newUpesh Jindal 5.4
Execute Mail Merge & Produce Multiple Word Documents in C# & VB.NETsherazam 0.0
Executing system commandsSean 5.6
fast input functionYashpreet singh 6.8
Fast multiplicationJean-Fran�ois Geyelin 5.6
Fast way to reverse the bits in a byteJohn Hite 6.6
Fastest raise to power.Ezzetabi 5.6
finding size of variable without using sizeof()Rajesh punia 5.6
Fix all compiler warningsrickey 5.5
Flowchartsayyapparaju 5.6
Free The Memory That You UseUdhaya Kumar.D 5.7
Full Abstract class/InterfaceRamakrishna 4.0
Get a copy of the standardThantos 5.6
getchar() returns an intRob 5.7
gets is dangerouscarl johnson 5.4
gets() is bad.Sean 5.9
Getting the size of an array with any datatypeSaddam Abu Ghaida 5.3
Give Proper Names to Your VariablesMaragato 5.6
Goto vs. Higher-level control structuresSean 5.8
HELLO WORLD without SEMICOLON(;)AKshaY SAblE 5.5
High performance loopingRachana 5.4
In C++ a pure abstract base class is a contractMarty Corbett 5.3
increase 1 without using +-*/henry zhang 0.0
Increment and decrement counters with rolloverLee Walker 7.5
increment and decrement on pointerRAJKUMAR 5.6
Indent your ProgramPrashant Sahay 5.5
initalization of objectsmohit dhawan 5.6
Initialise all variablesJia.Lu 5.6
Initialise all variables before useMounish 5.5

Next 30
Previous 30

Help your fellow programmers! Add a tip!