cKGunslinger
Lifer
- Nov 29, 1999
- 16,408
- 57
- 91
Phase 1: Code deliberately
Code:
/*
** Iterator for <item>
*/
uint32_t i = 0;
/*
** Pointer to the thing
*/
uint32_t *my_pointer = NULL;
if ( NULL != my_pointer)
{
/*
** Do the thing that generates the thing for purpose
*/
manipulate_pointer( my_pointer, /* param 1 description */
parameter_2, /* param 2 description */
parameter_3 ); /* param 3 description */
}
else
{
printf( "ERROR: NULL pointer\n" );
}
/*
** Do the thing for each individual thing
*/
for ( i = 0;
i < (the_maximum_value_of_i);
i++ )
{
/*
** Do the thing with i
*/
}