易截截图软件、单文件、免安装、纯绿色、仅160KB

职工工资管理系统(我的第一个C程序)


#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
#include<string.h>
#include<windows.h>
#include<malloc.h>
#include<math.h>
typedef struct worker

 int num; //编号
 char name[15]; //姓名
 char zhicheng[15]; //职称
 char zhiwu[15]; //职务
 double salary;  //基本工资
 struct worker *next; //后继指针
 struct worker *prior; //前驱指针
}Node,*Link;
#define LEN sizeof(struct worker)
Link head=NULL,tail=NULL;  //全局变量
/*菜单函数*/
int menu_select()
{
 int temp;
 system("cls");
 printf("\t(*^__^*)                                       (*^__^*)\n");
 printf("\t          欢迎使用由电子0911刘军同学编写的程序         \n\n");
 printf("\t======================================================\n\n");
 printf("\t※\t**********职工工资信息管理系统********       ※\n");
 printf("\t  ※                                               ※\n");
 printf("\t※      ☆1.信息录入              ☆2.插入成员       ※\n");
 printf("\t  ※                                &nbs


相关文档:

读《c程序设计语言》一些感受

     最近在看《c程序设计语言》,就是那本被誉为C语言圣经的书籍。几天看了一章,感触很大,开篇就涉及到很多实用程序,不像谭浩强那样让人深陷语法细节之中,而且学完谭的书感觉什么都不能做。很多问题谭都回避了。所谓专业看看c程序设计语言的代码的风格就能感受到,一种精心雕琢的艺术品。第一章有 ......

C/C++ 头文件 常用头文件功能查询表

#include <assert.h>    //设定插入点
#include <ctype.h>     //字符处理
#include <errno.h>     //定义错误码
#include <float.h>     //浮点数处理
#include <fstream.h>    //文件输入/输出
#include  ......

GNU C Library——最全的C函数说明

前天写一个小程序, 突然发现其实偶的C学的不怎么样啊,好多函数都不记得,在网上搜到的都是些乱七八糟的,没有原型,用起来不放心,用E文搜,搜到真正的Bible——
The GNU C Library Manual
这里面太全了,只是有一点不太好,E文的,读起来有点慢,感觉有点浪费时间
用C写了段小程序把一个五笔码文本文档转 ......

linux编写c程序发现

这几天我安装了一个Linux系统,想在里面学一下C语言的编写,发现在里面运行有一个好奇怪的现象:如下面
#include<stdio.h>
void mian(){
printf("hello world!");
}
输出没有结果!搞的我看了半天,程序没有错误啊!怎么这样!后来我把程序改为
#include<stdio.h>
void mian(){
printf("hello ......

C 语言中清空输入缓冲区

C语言中有几个基本输入函数:
//获取字符系列
int fgetc(FILE *stream);
int getc(FILE *stream);
int getchar(void);
 
//获取行系列
char *fgets(char * restrict s, int n, FILE * restrict stream);
char *gets(char *s);//可能导致溢出,用fgets代替之。
 
//格式化输入系列
int fscanf(FILE * r ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号