I have been playing with the Interactive Brokers API in C++ and have run into troubles surrounding virtual functions and inheritance. In the very limited docs and misleading examples in the api download they provide, it states that you must have a Client class that inherits two base classes EWrapper and EClientSocket.
EWrapper has a list of over 100 virtual functions, and provides all the communication to other classes and their methods used to get marketdata, make trades, etc. When I try inheriting these 2 classes into a Client Class I keep getting errors saying, essentially, I am missing a function(s) in my derived class that is/are virtual functions in the EWrapper base class and/or the EClientSocket base class. So my question is this, must I declare all 100 of the virtual functions in the EWrapper base class and all virtual functions in the EClientSocket Class in my derived Client Class with their proper types/parameters in my Client Class Header file? And then specify the Client Class's version of them outside the class in another Client.cpp file per usual?
if a base class has a bunch of virtual functions, in any class you make that inherits that base class, do you have to declare all the virtual functions in your derived class for it even to compile?
I have been coding a lot in python lately and need a brush up on my virtual functions/C++ Inheritance. Have not fully switched gears in my head yet. Thank you.