On Sun, 26 May 1996 19:03:12 -0400 (EDT),
in <Pine.LNX.3.93.960526185751.27013A-100000@tendo-dojo.ranma.net>
White Wolf <ranma@tendo-dojo.ranma.net> wrote ...
>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.
***BONG***
The comment style is C++ *not* C - please read C++ documentation
The // is a C++ comment introducer valid for ONE line only
***BONG***
>
>Not to mention you have a an if-then when the answer is hard coded.
***BONG***
Wrong again, setting of drinks=0 is the *initialisation* of the variable
which is then sunsequently incremented further down on each
drinks+=1 (or whatever number was applicable)
***BONG***
>
>
>-----------------------
>Jody(borrowing Skuld's mallet): Wolf-chan no baka!
Mink (hovers over WW with a large pile of C++ tutorials) ........ <GRIN>
-- Mink/Tempest aka Robin Smith Author: "The Tempest Chronicles"
http://www.geocities.com/Tokyo/2302 Lichfield, Staffordshire, United Kingdom
"I was committed once, but the fools let me out for good behaviour !"
IRC : Mink or Tempest- [ but "Mink" most of the time ^_^ ]