Okay, this isn't really a question, its just to confirm something.
After C++ classes are compiled, and a program is run with them, the member functions turn out like this:
// Start here
class A{
void function1();
};
// End up here
void function1(A* aObject)
{
// blah
}
Right??
So, if there was a situation like:
class B{
bool value;
int integer;
float y;
string hello;
char c;
void function1(){
// blah
}
int function2(){
// blah
}
};
Then basically, the expression "sizeof(B)" would end up being the size of all the member variables. Right?
okay, assuming that we have that right, which is good for me, but I was just struck with something else, what if in that class you have static variables? I assume that they wouldn't be counted with the 'sizeof' expression. So, what, are they just left to fend for themselves?
[size="2"][size=2]Mort, Duke of Sto Helit: NON TIMETIS MESSOR -- Don't Fear The Reaper