Re: [NEWBIE] spell_level()

From: Shane P. Lee (
Date: 11/04/02

--- peter dahlgren <peter_dahlgren2002@YAHOO.SE> wrote:
> and another thing, if i want 6 classes in total, 1 first class [0],
> and 5 multi classes(additions)... should i have [5] or [6]? i don't
> know if the zero counts as a number here...

Yes, Zero counts, but the array value should always be one number
higher. What you should have is 'chclass[NUM_CLASSES ++]' which
is more portable. On a side note, since 'class' is a reserved
keyword for C++, it's something that should be avoided. Not really
that big of an issue, but it's nice to stay portable.


Do you Yahoo!?
HotJobs - Search new jobs daily now

   | FAQ: |
   | Archives: |
   | Newbie List:   |

This archive was generated by hypermail 2b30 : 06/25/03 PDT