virtual member
-
in the name of god hello i have asked for this question in this tread but yet i cant get my answer: http://www.codeproject.com/Messages/3250568/Re-inheritance.aspx[^] indeed i want to use member virtualization .does c++ has something like virtual member? valhamdolelah.
-
in the name of god hello i have asked for this question in this tread but yet i cant get my answer: http://www.codeproject.com/Messages/3250568/Re-inheritance.aspx[^] indeed i want to use member virtualization .does c++ has something like virtual member? valhamdolelah.
Hi,
khomeyni wrote:
indeed i want to use member virtualization .does c++ has something like virtual member?
Virtualization (see, for instance [^]) has nothing to do with
C++
virtual member functions. And yes, usingC++
language, you may define virtual member functions: surprisingly enough, you may find this info in the documentation [^] (and in everyC++
book). :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
Hi,
khomeyni wrote:
indeed i want to use member virtualization .does c++ has something like virtual member?
Virtualization (see, for instance [^]) has nothing to do with
C++
virtual member functions. And yes, usingC++
language, you may define virtual member functions: surprisingly enough, you may find this info in the documentation [^] (and in everyC++
book). :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
thanks but i know that there is a virtual member function but i dont want function i want member virtualization as virtual int x; in a class ,please see the link that i said. valhamdolelah.
khomeyni wrote:
virtual int x;
You know, that make no sense. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]