vererbung
-
wieso überdeckt f(int) die geerbte f() - funktion?
class A { public: virtual void f(); }; class B : public A { public: void f(int); }; [...] int main() { B b; b.f(); }
-
Hallo,
Siehe dazu:
http://fara.cs.uni-potsdam.de/~kaufmann/?page=GenCppFaqs&faq=oho#Answ
http://fara.cs.uni-potsdam.de/~kaufmann/?page=GenCppFaqs&faq=Overload#AnswNach der Lektüre der folgenden Artikel sollte es klar sein

Gruß Caipi
-
ah, danke
