Advertisement

Virtual Funtions

Started by March 16, 2001 03:14 AM
9 comments, last by Nat 23 years, 10 months ago
Nat the MAIN difference between using or not virtual functions in your example is storing them, as I´m saying. Try to store them in a simple array, loop it drawing all the array. How would you do that?

.-If you want to use the derived Draw()(NOT using virtual functions) you have to call that method form the derived class_(or a pointer to it ).

.-Think and try what i have said.

What the hells!
What the hells!

This topic is closed to new replies.

Advertisement