




免费预览已结束,剩余8页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Building industry opens up new world of entrepreneurial struggle to build a three provinces of regional central cities-in the Communist x counties the six plenary session members and comrades: today, I was commissioned by the County party Committee Standing Committee, reports to the General Assembly. Consideration of all members and alternates, and comrades attending advice. A, and this year yilai of work recalled this year yilai, in municipal of right led Xia, County solidarity led County people, to science development views for guide, to good activities for mainline, according to a city four modernizations three more of development thought, concentrated poly force, work hard, political, and economic, and culture, and social and party of construction are made has new progress, County rendering out wind fresh are, and career prosperity, and social settled, and people mind into of good situation. (A) facilitating the construction of the project. Firmly establish the scratch project is economic, grasping development project is to hold philosophy, to extraordinary efforts to promoting the construction of key projects. Plot 108 key projects for the year, with a total investment of 29.3 billion yuan, iron plate, Josh stone cement waste heat power generation and 13 projects completed, worship of 1.2 million tons of pellets, Hua Yu 80,000 sets of grandparent chicken farming, 47 projects under construction, completed investment of 3.95 billion yuan, annual plan of 69.3%. The first half of the Countys gross domestic product is expected to reached 8.5 billion yuan, and total revenue of 943 million Yuan. (B) structural adjustment achieved remarkable results. Actively transforming the pattern of economic development, industrial ecology, and agricultural modernization and industrialization of services. High x-County Tin iron circular economy demonstration area, and further expand economic development zone Jing Dian recycle economy ecology industry Park, Park, circular economy and rapid economic development. Focus more on the dialectical relationship between development and environmental protection, energy saving and emission reduction projects play an important role. Vigorously developing agriculture, ecological agriculture, agriculture, modern agricultural clearing along the River Promenade begins to take shape. Key tourism projects is going well, WA Palace area was named top ten most influential cultural relics in Hebei province landscape. Develop new services, and services with new developments. (C) urban-rural integration process. Promoting three-year difference campaign, battle of two large demolition completed 32 days of 530,000 square meters, exceeded the annual Task 7 months in advance. General big building jiangjun road, bridge and highway bridges, the green heart of the city and other urban construction projects, and focus on building new countryside and new housing model villages, urban and rural areas improve. Highway opened to traffic, Liu Zhang, Qing LAN high-speed x-County section completed by the end of August. Urban and rural昆明理工大学 程序设计基础课程综合设计实践教学课题报告课程名称: c语言程序设计 课题名称: 职工工资管理程序设计 组 长: 学号 1姓名李双江组 员: 学号 6姓名王洪雨学 院: 电力工程学院 专业班级: 水文与水资源工程 指导教师: 张启富 昆明理工大学计算中心2006 年 6 月 12 日昆明理工大学计算中心程序设计基础课程综合设计实践教学课题考核表课题名称:职工工资管理程序设计 学院:电力工程学院 专业班级:水文051 学号姓名小组编号题号承担及完成的内容成绩备注小组自评教师评定1李双江1. 选项菜单集成各功能函数模块2 . 职工工资进行排序并存入文件80926王洪雨1 录入职工工资信息2. 将排序后的文件输出并显示在屏幕上7575设计说明与功能描述(基本思路及关键语句说明)该程序首先是对程序中要产生的一些函数的定义,再在主函数中对它们进行调用。从而形成一套有条理的程序设计,并且能够很好的达到程序设计的目的。程序中,我们运用了语句,极其指针、文件等,方便的执行了对数据的操作。职工信息管理系统提供以下几个功能:1录入职工基本信息:录入要管理统计的职工信息。2汇总职工信息:计算职工的总工资。3排序并将数据存入文件:按总工资降序排列并将数据存入D盘空间。4输出数据表:将录入的职工数据输出。 组长签名: 200 6 年 6 月 12 日教师评语:按要求完成综合设计课题,符合教学要求,应用能力与实践能力有明显提高 教师签名:张启富 2006 年 6 月 16 日 第一部分 系统概述一、程序功能: 随着社会的发展,中小型企业在我国得到迅速发展,工资管理系统对企业的资金管理,起着越来越重要的作用。本程序就是为了更好更快的管理职建立的工工资而。它从标准输入设备(键盘)上输入一批职工工资信息,计算总工资,并按工资降序排序,最后输出到文件中,并将其显示到显示器上。二、程序算法:从主菜单中选择相对应的数字,使程序进入不同的程序模块,用switch实现其功能,程序共分为五个模块,分别为:主函数、Input( )函数(输入函数)、Paixu_fout(rs)函数(计算职工工资信息并输入文件)、Output(rs)输出函数(从文件中读入信息并将其输出到显示器)。各函数主要算法见个流程图第二部分 数据结构设计三、定义结构体: 定义一个包括职工信息极其工资基本信息,包括基本工资、奖金及其津贴,以及总工资的结构体。如下面所所示:structXSchar gh10;char name10;int salary;intreward;intjintie;intsum;cjRS,jd;四、数组设计: 程序中定义是两个字符型数组结构和一个结构体数组: 字符数组gh10在结构体中用于保存职工工号,name10用于保存职工姓名,结构体数组cjRS保存学生的所有信息。五、函数定义: 程序中定义了3个功能函数,它们是输入职工信息输入函数Input();排序并将职工信息输入文件函数Paixu_fout(rs);输出学生信息函数Output(int rs)。最后是主函数main()来调用以上3个函数。主函数流程图程序结束输入数据排序并存档输出数据退出系统出错判断客户选择主函数入口第三部分 使用程序说明八、调试:错误:原因:main()函数当中循环次数多了一个getchar(),导致必须输入两次数字才可以返回case 1:rs=Input();js(rs);break;case 2:Paixu_fout(rs);printf(t排序后的职工信息已存入D盘中的tlj.txt中n); getchar();printf(t按任意键返回!n);getchar();break;for(i=0;i=0)break;/检验输入值合法性 else printf(t输入错误,请重试:); printf(t%s职工的奖金:,);/输入职工的奖金while(1)scanf(%d,&jd.reward); if(jd.reward=0)break;/检验输入值合法性 else printf(t输入错误,请重试:);printf(t%s职工的津贴:,);/职工的津贴while(1) scanf(%d,&jd.jintie); if(jd.jintie=0)break;/检验输入值合法性 else printf(t输入错误,请重输:);cji=jd;i+;getchar();/计算职工工资基本信息函数js(int rs) int i;FILE *pk;if(pk=fopen(D:tj.txt,w)=NULL)/打开文件printf(文件打开失败!);exit(0);for(i=0;irs-1;i+)/计算总和 cji.sum=cji.salary+cji.reward+cji.jintie;fprintf(pk,%-10s%-10s%4d%4d%4d%4dtn,cji.gh,,cji.salary,cji.reward,cji.jintie,cji.sum);fclose(pk);/排序并将人员信息输入文件Paixu_fout(int rs)FILE *pk;int i,j;if(pk=fopen(G:tlj.txt,w)=NULL)printf(文件打开失败!);exit(0);for(i=0;irs;i+)for(j=0;jrs-i;j+)if(cjj.sum=cjj+1.sum)jd=cjj+1;cjj+1=cjj;cjj=jd;fprintf(pk,%-10s%-20s%4d%4d%4d%4dn,cji.gh,,cji.salary,cji.reward,cji.jintie,cji.sum);fclose(pk);Output(int rs)int i;FILE *pk;if(pk=fopen(D:tlj.txt,r)=NULL)printf(文件打开失败!);exit(0);printf(ntt职工工资排名如下:nn); printf(t编号 t 姓名t 基本工资 t 奖金 津贴 总和 n);for(i=0;irs;i+)fscanf(pk,%-10s%-20s%4c%4d%4d%4dt%4dn,cji.gh,,&cji.salary,&cji.reward,&cji.jintie,&cji.sum);fprintf(stdout,%-10s%-8st%-10d%-10d%-10d%-10dtn,cji.gh,,cji.salary,cji.reward,cji.jintie,cji.sum);fclose(pk);main() int rs,c,t=1;while(t) printf(t*本系统为职工工资管理系统* n); printf(t*欢迎使用本系统* n); printf(tt 1.录入员工及工资信息 n);printf(tt 2.职工工资进行排序并存入文件 n);printf(tt 3.将排序后的文件输出并显示在屏幕上 n);printf(tt 4.退出程序。 n);printf(t* n); printf(tt请选择对应编号(1,2,3, 4));scanf(%d,&c);getchar();if(c1|4c)printf(t输入错误!请重输:n);continue;switch(c)case 1:rs=Input();js(rs);break;case 2:Paixu_fout(rs);printf(t排序后的职工信息已存入D盘中的tlj.txt中n); getchar();printf(t按任意键返回!n);getchar();break;case 3:Output(rs);printf(t按任意键返回!n);break;case 4:t=0;printf(t*!谢谢使用!*n);printf(ttt按任意键返回!n);break; 社会关注的重要事项,全部实行三公开,保证了人民群众的知情权、参与权和监督权认真落实党风廉政建设责任制,积极参与廉政教育,自觉杜绝腐败现象发生,全力维护机关干部的正派形象。development work steadily in the pilot counties, to build peace neighborhood offices approved, change, urban and rural communities (Center), immigrant communities, pilot projects such as integrated management of urban and rural sanitation in order. (D) maintain social harmony and stability. In the case of tight financial situation, continue to increase the input of people, happy people battle. Urban central heating and upgrade rural power grids, rural reconstruction of shabby housing ten major projects being delivered, has been overfulfilled ahead. Strengthening of social programs, college entrance examination to record heights; new rural insurance coverage rate of the citys first, launched in new rural cooperative medical clinic co-ordination; . Perfect Park catering, accommodation, education, recreation and other tertiary industries supporting, improving socialization service level, for industries, businesses and create a good environment for development. 3, flexible investment, enhance the industry. Construction of industrial parks, just set up a platform for the development of only attract more projects into the district, to form agglomeration advantages. A innovation project. To be purposeful, targeted investment, will have a basis of the Countys industrial packaged bundles, overall publicity and promotion. Initiative going, please come in and carry out all-round, multi-level and wide-range of investment activities. The Township industrial projects, in principle, to put to the West industrial parks. What town project, is that the output value of the Township. Second, we must grasp the standards selected items. Full account of extend the industry chain and the integration of factors of production, not only efforts to introduce a number of scientific and technological content and high added value, growth and strong driving force of large projects and large enterprises, but also on domestic-funded enterprises and in accordance with the direction of industrial development of small and medium projects, project man, small project overwhelming. Meet the area of the Countys new industrial
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 菏泽银行面试题目及答案
- 2025年注册验船师资格考试(A级船舶检验专业基础环境与人员保护)综合试题及答案一
- 北京市门头沟区2023-2024学年七年级下学期第一次月考英语考试题目及答案
- 2025年图书馆管理员招聘面试模拟题及答题技巧
- 2025年医疗器械质量认证考试全真模拟题
- 2025年财务风险管理师高级实务操作手册及考试指南
- 2025年高空作业平台设计与使用技能考试题库及答案
- 2025年高中物理学科知识与教学能力面试题解
- 2025年政府机关招聘行政岗位笔试模拟题及答案
- 2026届江苏省无锡江阴市化学高三上期末教学质量检测模拟试题含解析
- 《现场管理培训》课件
- 下颌骨骨折护理查房
- 基于无人机的公路平整度与车辙自动检测
- 医疗大数据共享平台
- 有限空间作业审批表
- 0.4kV不停电作业资质认证练习试题及答案
- 高一离子方程式书写专题训练及答案
- 北京市海淀区2020-2021学年七年级下学期期末历史试题(答案)
- 铲车司机安全生产岗位责任制
- 新媒体运营PPT完整全套教学课件
- 渝20TJ11 浮筑楼板隔声保温系统构造 难燃型改性聚乙烯复合卷材(蜂窝型)DJBT 50-143
评论
0/150
提交评论