30.3 Declarations

I l @ ve RuBoard

  • Put variable declarations one per line and comment them.

  • Make variable names long enough to be easily understood , but not so long that they are difficult to type in. (Two or three words is usually enough.)

  • Never use default return declarations. If a function returns an integer, declare it as type int .

I l @ ve RuBoard


Practical C++ Programming
Practical C Programming, 3rd Edition
ISBN: 1565923065
EAN: 2147483647
Year: 2003
Pages: 364

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net