Date: Sun, 26 May 1996 19:03:12 -0400 (EDT)
From: White Wolf <ranma@tendo-dojo.ranma.net>
On 26 May 1996, Mink wrote:
> int main(void)
> {
> long drinks=0; // okay so an 'int' *might* *just* do - hehehe
[SNIP]
> } // endof function main()
>
> Aaack, this means a 60 drink rating for my (as yet) incompleted BGC fic.
>
> Does this mean it should carry a government health warning ? :-)
First, that code won't compile. Ignoring the 'int main(void)' which will
just create a warning, the *many* `//`'s are *not* C style comments.
But most modern C compilers, at least in the PC world, have added C++
style comments as a worthwhile extension. And he's pretty clearly in
the PC world, since he's (I hope!) not stuck using a PDP-11 or the
like ( about the only places ints are 16 bits ).
Not to mention you have a an if-then when the answer is hard coded.
I'd assume it's a work in progress; I often write hard coded functions
like that on the way to finishing them.
- Harold