Hope this is helpful... [message #53952] |
Wed, 05 November 2003 12:20   |
msgtpain
Messages: 663 Registered: March 2003 Location: Montana
Karma:
|
Colonel |
|
|
fl00d3d | For anyone interested in the release date of Renguard:
A few lines of code will do the trick, actually...
int main()
{
x=1
WHILE (x>=1)
{
IF (current_date == release_date)
{
printf("Release date has been delayed, again");
release_date++;
}
ELSE
{
printf("\nStill waiting...");
x=0;
}
return(0);
}
|
You didn't even bother to declare current_date or release_date, which means that it won't even compile, let alone actually run.. Then you omitted the semicolon after the int x declaration.. aside from that, you're missing at least one closing bracket somewhere.. not sure if you figured you didn't need to close the else{} statement, or if you just left the while{} statement open or what... Does anyone know if you're even ALLOWED to use a capital WHILE, IF and ELSE? who knows...
Good job, oh self proclaimed worthier than renguard team person...
Hell, I can't even code in C, and I knew that the second I saw it..
just stick with the whining.. you're better at that, thanks.
|
|
|