On 23-Dec-97, Cameron Clark wrote to John Richardson about Re: C to C++.
CC> same thing with libraries.) #3 - Polymorphism and code reduction
CC> Let's pretend that you have 5 types of bank accounts. (checking,
CC> savings, joint, etc) How many Transfer() functions would you have
CC> to write to allow each account to transfer to another account? (5
CC> * 5 = 25) With polymophism, you can write one function that does
CC> the work of 25.
I know every concept about C++ except polymorphism, could you please
explain it in C++?
Javier Kohen >jkohen@tough.com< [The_Crusher] http://jkohen.base.org
+4:900/748.3+ _200:201/126_ ICQ:#3855350# PGPID:*3423EAA9*
.!. We have a drugs party in 526! * Charged G.B.H
--- Terminate 5.00/Pro
---------------
* Origin: The King of The Ring (4:900/748.3)
|