Solve it without using inheritance and the associated polymorphism then. Since you say you know the formula involved, what's stopping you now?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 68
Thread: Area and volume of cylinderThreaded View
|
Click Here to Expand Forum to Full Width |