- NEW!
Help answer this question below.
I was confused because the class does not define the set_speed as a virtual function making it not possible to override so the last option is my choice but I know you can override with virtual, wanted to see if I was correct in my thoughts.
class Car
{
public:
Car();
void set_speed(double new_speed);
double get_speed() const;
private:
double speed;
};
How do you use c++ opengl to produce a rotating 3D cube with different color for each face? can someone please provide a sample code?
by daryltanrena on March 6th, 2011
| 1 person likes this
In a visual C++ WinForm application, how do I pass a variable from an event to another event?
by WickeTD on February 24th, 2011
| 1 person likes this
The ____ of documentation is typically written first?
Input, output, internal program or external program
by jaleesakababygurl on December 6th, 2010
| 1 person likes this
In data structure, What's the sorting algorithm where the invariant data from 0 to I-1 is sorted while the data from I to n is unexamined?
by Zaid_A8694 on March 20th, 2011
| 1 person likes this
Can Anybody Help Me With My Program In C++?
by princeoftroy on March 27th, 2011
| 1 person likes this
You're reading The AeroCar class inherits from the Car class. For the AeroCar class to override the set_speed function, what must be done?
Comments