c++ cZar
Showing posts with label
variables
.
Show all posts
Showing posts with label
variables
.
Show all posts
Tuesday, August 31, 2010
Use the variable closer to its use
Its good programming practice to define the variable closer to its use.
Eg. In cpp, this is better code:
for(int i = 0; i
{...}
rather than
int i;
...
...
for(i=0;i
Older Posts
Home
Subscribe to:
Comments (Atom)