多继承股票类.cpp
#include#include#include#includeusing namespace std;class Stock{private: string symbol; string name; double currentPrice; double previousClosingPrice; friend class StockExchange;public: Stock() {} void Input() { cout << "请输入股票代码:"; cin >> this-
下载地址
用户评论