Oops!

Sorry guys;

it should be:

class d_cam: public camera {

and

class analog_cam: public camera {


Sorry again.