1. Convert the program using two classes. One class must be an abstract class and the other is a derived class. Be creative. If you understand "polymorphism" and what an abstract class can and cannot do, you can solve this problem.
2. The two classes must be declared in one file, and their implementation files must be in separate files. The main( ) must be in a separate file.
3. There must be two member functions in the derived class. One function, Play1( ) does the animation just like the original program does. The second function, Play2 ( ) does an animation in which it swings sideways back and forth like a pendulum.
Feel free to add other functions and constructors as needed.
11 freelancer chào giá trung bình$22 cho công việc này
HI Contact me for an efficient, perfect, well documented development of your project according to 100% accuracy and requirements, with dedicated support. Thanks Farah Saif
Hi sir..! i am professional C/C++ developer and know abstraction / polymorphism very well. i will do that task easily just in few minutes. So please contact me before awarding someone else. Thanks
Hello, I can give you this project's solution in very short [login to view URL] to my profile and check ratings :) Feel free to inbox me now. I am ready to help you out now.
I am currently working on Linux platform with C++ as language. Has an experience of around 3 years on linux platform. Can complete your project in stipulated time with the proficiency.