for your second question, I think you should check this out:
http://www.cplusplus.com/doc/tutorial/
apart from that, I think you need a book on C++ to help you with the exercises... There is a free electronic book that will teach you the concepts of C++ polymorphism and Inheritance. It's called
Thinking in C++ and it's free.