Posted by Todd on 2000-05-03
Okay I have a problem here and it's really bugging me that I can't figure it
out. I need a struct or preferably a class that can be defined as an array.
As an example, something like this:
class someclass
{
bool var1;
boo var2;
} somename[21];
somename[1].var1 = something;
is it possible to do something like this? cause it's just not practical to
have to name every variable of type someclass other than to name it as a
number.
Todd
Previous post | Next post | Timeline | Home