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

Next 30
Previous 30

Help your fellow programmers! Add a tip!