trying to see how I can stop :D from becoming a smiley face.Code:::Di
::)
Printable View
trying to see how I can stop :D from becoming a smiley face.Code:::Di
::)
Well that didn't workQuote:
:D
Okay, there is a disable smilies check box....
:)
:D
int f(float d)
// Checks whether the number is positive or negative
{
if (f > 0) {
printf("postive\n");
return 1;
} else {
printf("negative or zero\n");
return -1;
}
}
Just testing this syntax highlighting program of Yves'
you should still put it inside a code segment, to preserve the spaces at the front.
;)Code:int f(float d)
// Checks whether the number is positive or negative
{
if (f > 0) {
printf("postive\n");
return 1;
} else {
printf("negative or zero\n");
return -1;
}
}