thanks guys, but a question/concern..
by overloading the int operator, i will have to re-set whatever variable i want to equal the class's value, each time it changes, which is a pain in the ass..meaning
int temp = 3;temp = nr;
i'd have to do that every time nr changes, which would be a major pain in the butt, when i would like to just use "nr" by itself whenever needed, y'know?
but im under the impression that this isnt possible, heh
i really wish i knew how the STL programmers went about this (stl string variables, for instance)
or then again, is it possible in any way to maybe "overload" a normal variable with a class's functions? im seriously doubting it, but..
Edited by - amemorex on December 18, 2001 6:57:30 PM