1 Star 0 Fork 0

trff/银行通信系统

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
bank.h 494 Bytes
一键复制 编辑 原始数据 按行查看 历史
trff 提交于 2024-09-20 16:27 . 初版
#ifndef BANK_H
#define BANK_H
#define key 167863843
//帐号结构体
typedef struct Account{
char ncard[20]; //卡号
char name[20]; //姓名
char id[20]; //身份证号
char pwd[7]; //密码
double money;
int lock; //锁定
}Account;
//消息结构体
typedef struct Msg{
long type;
pid_t pid; //pid进程号
int flag;
Account user;
}Msg;
//服务器to客户端 消息结构体
/*typedef struct MsgSC{
long type;
int flag;
Account user;
}MsgSC;*/
#endif//BANK_H
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/trff/bank_system.git
git@gitee.com:trff/bank_system.git
trff
bank_system
银行通信系统
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385