📄 ch1201.cpp
字号:
#include<iostream>
#include"Account.h"
#include"Accountlist.h"
#include"Checking.h"
#include"Saving.h"
#include<FSTREAM>
using namespace std;
int main()
{
ifstream in("account.txt");
string str;
int flag = 1;
while(flag)
{
getline(in,str);
if(str.find("x 0")== -1)
{
Checking che(str);
Savings sav(str);
che.display();
sav.display();
}
else
flag = 0;
}
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -