A
asdf
They looks so similar. Anybody would like to tell me their differences?
Thanks a lot.
Thanks a lot.
They looks so similar. Anybody would like to tell me their differences?
Thanks a lot.
They looks so similar. Anybody would like to tell me their differences?
Thomas J. Gritzan said:Please repeat the question in the body of the posting:
"function overload vs. virtual function"
This question makes no sense. Do you confuse overloading with over_writing_?
asdf said:They looks so similar. Anybody would like to tell me their differences?
Thanks a lot.
Jim said:class MyClass
{
public:
vitural MyFunc( int Val ) { return Val; };
};
class MyClassDerived: public MyClass
{
MyFunc( int Val ) { return Val / 2; }
};
David said:Confusing overloading with _overriding_ is rather more likely than confusing it with overwriting.
They looks so similar. Anybody would like to tell me their differences?
Thanks a lot.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.