"Pete Becker" <petebecker@acm.org> wrote in message
news:3F646E5B.3256B42@acm.org...[color=blue]
> Christopher wrote:[color=green]
> >
> > I could of sworn you could get the value of a static member of a class[/color][/color]
using[color=blue][color=green]
> > this syntax "class::member" but my compliler is complaining. How can I[/color][/color]
do[color=blue][color=green]
> > what I am trying to do here besides making a function for it. Isnt there[/color][/color]
a[color=blue][color=green]
> > short easy way?[/color]
>
> There's nothing wrong with the code you posted. So either your compiler
> doesn't support this properly or the code you posted is different from
> the actual code.[/color]
Found that the :: operation works fine on another compiler. You are correct.
Frustrating how one feature works on one compiler, but another feature does
not.
[color=blue][color=green]
> > Oh and my instructor wont let me use a #define because he is
> > a terd.
> >[/color]
>
> Lose the attitude. It's quite likely that your instructor knows more
> about what he's trying to accomplish than you do.[/color]
Well I would give a list of reasons why the attitude was developed, but I
hardly think anyone cares. Let's just say that I am sure I am justified in
my opinion.
[color=blue]
> --
>
> Pete Becker
> Dinkumware, Ltd. (
http://www.dinkumware.com)[/color]