Changes

Jump to: navigation, search

Team !YOU - OOP344

263 bytes added, 13:04, 25 January 2010
m
Put the pointer identifier(*) right after the target variable type
=== Do not use tabs when indenting. ===
The tab space is interpreted different across different software and operating systems. Use normal spaces to add indentation instead.
 
=== Put the pointer identifier(*) right after the target variable type. ===
Pointers are hard enough to deal with. It only makes it more complicated if they are declared differently throughout the code.
 
Do:
int* p1;
char* p2;
 
Don't:
int *p1;
char *p2;

Navigation menu