摘要:
#include "stdafx.h"#include "iostream" using namespace std; class Base1{public: virtual void show() = 0;};class Base2{protected: char* _p; //char* s的地 阅读全文
摘要:
#include "stdafx.h"#include "iostream" using namespace std; class Point{public: Point(double x,double y); ~Point(); //获得类的成员变量_x的值 double GetX()const{ 阅读全文
摘要:
#include "stdafx.h"#include "iostream" using namespace std; class Stack{public: virtual void push(char c) = 0; virtual char pop() = 0;}; class ArraySt 阅读全文
摘要:
#include "stdafx.h"#include "iostream"#include "animal.h"using namespace std;#include <iostream>using namespace std; class Array{public: Array(unsigne 阅读全文