What is the comparison of function coverage, virtual function, and pure virtual function in cUniverse +
What is the comparison of function coverage, virtual function and pure virtual function in cUniverse +? in view of this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.
1. Function coverage
ClassA, ClassB, where ClassB inherits ClassA
The class is defined as follows:
# ifndef _ CLASSA_H#define _ CLASSA_H#include using namespace std;class ClassA {public: ClassA (void); ~ ClassA (void); void method ();}; # endif#include "stdafx.h" # include "ClassA.h" ClassA::ClassA (void) {} ClassA::~ClassA (void) {} void ClassA::method (void) {cout