**// 类**
// version 00
#ifndef BANK_H_
#define BANK_H_
#include <string>
class Bank // class declaration
{
private:
std::string name;
std::string number;
double balance;
public:
Bank(const std::string & co, const std::string & n, double cou=0.0);
void show(void)const;
void sell(double cash);
void update(double cash);
}; // note semicolon at the end
#endif
**// 成员函数**
// version 00
#include <iostream>
#include "stock00.h"
Bank::Bank(const std::string & co, const std::string & n, double cou)
{
name = co;
number = n;
balance= cou;
}
void Bank::show(void) const
{
std::cout << "your count is " << name << "\n"
<< " the count number is :" << number << name << "\n"
<< ";now,its blance $ is " << ba