d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Polymorphism
Add Reply New Topic New Poll
Member
Posts: 23,838
Joined: Feb 18 2009
Gold: 0.01
Apr 14 2013 03:06am
can someone explain to me the importance of doing this in c++

also dont really get i with the whole virtual function shit
looks like function overloading
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Apr 14 2013 07:31am
overloading is when you have a different signature with the same name. virtual => overriding, when they have the same signature. overriding is generally determined at runtime.

there is no important specific to c++. you can do it in java or c# or any other OOPL if you dont like c++

just google polymorphism. a lot of people have explained it better than i'm going to in this post.

This post was edited by carteblanche on Apr 14 2013 07:31am
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll