Find   


An Affiliate of AIHorizon




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) Added
pre & post increment & decrement operators jay 2.7586 (87)2005-05-05 14:05:47
Clever ways to avoid using if statementsA. Karthick Pandia Samy 3.4023 (87)2005-03-31 01:41:58
Don't use strlen in a loop condition.anonytmouse 3.6461 (178)2005-02-10 20:34:50
C++ new does not return 0 on failure!Are R. Svendsen 3.4956 (226)2005-02-27 21:38:01
Avoid memory wastageArthi 2.7712 (118)2005-04-06 04:47:31
Member Functions are inline by default (C++)Ash 2.8684 (114)2005-02-05 17:19:23
Turn off optimization when debuggingAshok Kumar 2.7083 (96)2005-03-09 00:45:58
char *pa; and char a[];avdtech 2.6449 (276)2005-03-14 19:00:25
Flowchartsayyapparaju 3.0123 (163)2005-06-06 05:12:03
Code Optimization TipsBasker Swaminathan 3.2250 (160)2005-08-26 01:41:22
Be careful about array size when u are using strcpBhushan Verma 3.3226 (93)2005-10-19 03:17:26
Use makefilecjediknight 3.1818 (66)2005-08-05 05:19:01
take advantage of array indiciesDave 2.7941 (102)2005-03-28 20:53:47
Standard Loop ProgressionDazzle 3.7177 (124)2005-08-07 15:12:14
Fastest raise to power.Ezzetabi 3.0800 (100)2005-03-18 16:31:04
Rounding to an IntegerGorn 3.8299 (194)2005-10-24 07:32:31
Temporariless SwapGuille 3.8070 (228)2005-11-25 13:51:38
Test pieces of your code earlyHardi Pertel 3.0522 (134)2005-01-17 11:14:06
LogicHardi Pertel 3.2617 (405)2005-05-06 10:55:48
beware of loop invarinatsIain 2.9029 (103)2005-02-27 14:43:27
Programming TipsJatin Gandhi 3.1647 (255)2005-10-15 13:06:02
Pointer Tips :-)Jatin Gandhi 3.3867 (437)2005-10-15 12:44:23
Fast multiplicationJean-François Geyelin 3.4731 (167)2005-03-01 05:54:49
Initialise all variablesJia.Lu 3.3253 (83)2005-10-05 06:26:18
compiler tipJulian Sutherland 3.0435 (138)2005-11-18 02:09:13
Do NOT always check for NULL! (C++)Kevin Lam 3.0308 (130)2005-01-24 16:44:13
assert() yourself!Kevin Lam 3.7606 (284)2005-02-07 12:12:10
loop conditionKrishna 3.2103 (542)2005-12-14 06:05:27
Use templates to prevent memory leakageKunal 2.8862 (123)2005-01-27 23:01:00
Next 30


Add a tip!



-----
Interested in advertising with us?
Please read our privacy policy.
Copyright © 1997-2005 Cprogramming.com. All rights reserved.