typedef struct bankaccount//定义账户格式 { int account; int key; char name[32]; float balance; }BANKACCOUNT; BANKACCOUNT accountcollection[MAXACCOUNT]; int cur_account = 0;