赞
踩
class Account{
public:
void calculate() { amount += amount * interestRate; }
static double rate() { return interestRate; }
static void rate(double);
private:
std::string owner;
double amount;
static double interestRate;
static double initRate();
static constexpr int period = 30;
double daily_tbl[period];
};
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。