B
BekTek
I have some qustions about recompiling in c++..
Let me show you my example..
I've got a class which has private member..
class A{
private:
void somefunc();
};
and client using it.. in different file
int main(){
A a;
// use A in whatever ways we want
// but except using private function
// Actually that's not legal
}
My question is if I chang the declaration of class A, for example changing
the private function name 'somefunc' to 'anyfunc', will the client code be
recompiled?
Let me show you my example..
I've got a class which has private member..
class A{
private:
void somefunc();
};
and client using it.. in different file
int main(){
A a;
// use A in whatever ways we want
// but except using private function
// Actually that's not legal
}
My question is if I chang the declaration of class A, for example changing
the private function name 'somefunc' to 'anyfunc', will the client code be
recompiled?