function header = 0
-
virtual void empty() = 0;
// fucntion header Why is this function header assigned a value of zero? Is this suppose to mean its a pure virtual function from a derived class with no implementation in it? like this: virtual void empty() { // empty } Thanks, Jay :confused: -
virtual void empty() = 0;
// fucntion header Why is this function header assigned a value of zero? Is this suppose to mean its a pure virtual function from a derived class with no implementation in it? like this: virtual void empty() { // empty } Thanks, Jay :confused: -
Which functions usually have an empty implementation.... is it the Base Class or the Derived Class?
-
virtual void empty() = 0;
// fucntion header Why is this function header assigned a value of zero? Is this suppose to mean its a pure virtual function from a derived class with no implementation in it? like this: virtual void empty() { // empty } Thanks, Jay :confused: