摘要:
=====>友元运算符#include using namespace std;class Test{ public: Test(int a = 0) { Test::a = a; } friend Test ope... 阅读全文
摘要:
#include using namespace std;class Vehicle{public: Vehicle(float speed=0,int total=0) { Vehicle::speed = speed; Vehicle::total = t... 阅读全文