摘要: #include #include typedef struct node{ char szAvpValue[100]; struct node *next;}TAvp;typedef struct{ TAvp *head; TAvp *tail;}TAvpList;//带头结点的链表void initAvpList(TAvpList *tHead){ tHead = (TAvpList *)malloc(sizeof(TAvpList)); tHead->head = tHead->tail = NULL;}int selectinput(){ int nSelect = 0;L 阅读全文
posted @ 2013-11-01 17:59 中国男孩 阅读(293) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #define MAX 100/*涉及数据结构*/struct salary_Info{ int card_no; //工作卡号 char name[20]; //姓名 int month; //月份 float init_salary; //应发工资 float water_rate; //水费 float electric_rate; //电费 float tax; //税金 float final_salary; //实发工资}SI[MAX];/*1、主函数提供输入、处理和输出部分的函数调用,各功能模块采用菜单方式选择*/static 阅读全文
posted @ 2013-11-01 16:40 中国男孩 阅读(212) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #define MAX 100/*涉及数据结构*/struct salary_Info{ int card_no; //工作卡号 char name[20]; //姓名 int month; //月份 float init_salary; //应发工资 float water_rate; //水费 float electric_rate; //电费 float tax; //税金 float final_salary; //实发工资}SI[MAX];/*1、主函数提供输入、处理和输出部分的函数调用,各功能模块采用菜单方式选择*/static 阅读全文
posted @ 2013-11-01 16:22 中国男孩 阅读(154) 评论(0) 推荐(0) 编辑