Do NOT use CODE tag for posting source code
Code:
// THIS PIECE OF CODE MAKES NO SENSE:
void BotThink( cBot *pBot )
{
printf("testing string highlighting %d",1);
int too_bad_number_are_not_highlighted = 12345;
// STEP 1: Update status
pBot->UpdateStatus();
// PASS THROUGH ENGINE
if((keywords_were_blue)&&(variables_were_not)) {
I_would_be_happy = TRUE;
}
/* another comment */
return;
}
use PHP tag instead :
PHP Code:
// THIS PIECE OF CODE MAKES NO SENSE:
void BotThink( cBot *pBot )
{
printf("testing string highlighting %d",1);
int too_bad_number_are_not_highlighted = 12345;
// STEP 1: Update status
pBot->UpdateStatus();
// PASS THROUGH ENGINE
if((keywords_were_blue)&&(variables_were_not)) {
I_would_be_happy = TRUE;
}
/* another comment */
return;
}