1. c语言有哪些老师教
我就是自学的C语言,给你说说我自学c语言的过程,刚上大一的时候就听说下半学期要开语言的课程。于是,假期一回家,买了一本谭浩强的C语言程序设计来看,反复看了有两遍吧,第一遍粗看,第二遍细看,书上有程序,边看边在 VC6.0里面编译!下学期到了学校后,又在网上的各大学C的论坛里学习,看看视频教程,我看过黑客基地的C语言基础教程,还有小甲鱼的视频教程,还有好多呢,我自己都忘了,最后我觉得吧,小甲鱼的讲得还不错,除了好听的声音外,他的视频是跟着书本的,好像就是谭浩强的C程序设计呢?还有讲汇编的。声明我不是计算机专业的。下学期考试反正我是考了第一,当然是C语言了,呵呵!现在感觉还不错。我要告诉你学习C语言只是基础而已,重要在于他的应用,而且很枯燥,不过没办法,等你把基础掌握了,可以看看C语言关于Windows方面的编程,他是C的一个重要的应用啊,也是巩固C和提高C语言兴趣的重要途径呢!最后给你建议:买一本谭浩强的C语言程序设计再看看小甲鱼的视频教程,建议你必须先把全书浏览一遍或是多遍最好,再去看视频,这样效果会好的多的。总之就是教材加上视频再加上多逛一些论坛,比如VC驿站等等。你要相信只要你花时间去认真学习,肯定会懂的,至于你说精通,C博大精深,没有多少人敢说他精通C语言,学得自己够用就行了!
2. 用C语言建立一个简单的教室信息管理系统。教室信息包括教师号,姓名 性别 年龄 学历 住址等。
这个我会,可以帮你写!
3. 现在高一,初中时信息技术课老师也没教什么东西,可我比较喜欢电脑,想参加信息竞赛,是不是要学
你可以先学pascal,比较基础,语句什么的好了解,看看书差不多能掌握
等你这个学的差不多了可以转C语言,C语言比较难理解,没基础的很难啃下
有机会参加一些竞赛,比如noip联赛,有好处的
4. 教师信息管理系统课程设计(c语言)
已经发送了。。
别人的毕业设计。。
VB+SQL2000做的。
凑合用一下吧~
哈哈
这年头,网上资源比较难找~
5. 教师工资录入系统的插入教师信息 用C语言怎样写
不存数据库或者文件的话 你程序关闭之后数据就没了。
一般会用结构体来写 单单是程序的话写个单链表 很简单 但是数据留不住
6. C语言课程设计(教师信息管理系统)急求参考!~
看看这个行不行:
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
struct teacher{
char id[10];
char name[30];
char gender;
char nativeplace[30];
char beginwork[11];
char subject[50];
char qualification[20];
char degree[20];
char rank[20];
char office[30];
struct teacher *next;
};
typedef struct teacher Teacher;
Teacher *t=0;
FILE *fp;
char filename[30]="";
void free_memory(){
Teacher *n;
while(t!=0){
n=t->next;
free(t);
t=n;
}
}
void load(){
int c,fail;
Teacher *n;
printf("Do you want to load an existing file or create a new one?\n");
printf("1.Load existing one 2.Create new one\n");
scanf("%d",&c);
if(c==1){
do{
printf("Enter the name of the file: ");
scanf("%s",filename);
fp=fopen(filename,"r");
if(fp==0) {
fail=1;
printf("Cannot open the file, please try again.\n");
}
else fail=0;
}while(fail);
free_memory();
t=0;
while(1){
char id[10],name[30],gender,nativeplace[30],beginwork[11],subject[50],qualification[20],degree[20],rank[20],office[30];
if(fscanf(fp,"%s %s %c %s %s %s %s %s %s %s",id,name,gender,nativeplace,beginwork,subject,qualification,degree,rank,office)==-1) break;
else{
if(t==0){
t=(Teacher *)malloc(sizeof(Teacher));
n=t;
}
else{
n->next=(Teacher *)malloc(sizeof(Teacher));
n=n->next;
}
strcpy(n->id,id);
strcpy(n->name,name);
n->gender=gender;
strcpy(n->nativeplace,nativeplace);
strcpy(n->beginwork,beginwork);
strcpy(n->subject,subject);
strcpy(n->qualification,qualification);
strcpy(n->degree,degree);
strcpy(n->rank,rank);
strcpy(n->office,office);
n->next=0;
}
}
printf("Loading complete\n");
fclose(fp);
}
else if(c==2){
do{
printf("Enter the name of the new file: ");
scanf("%s",filename);
fp=fopen(filename,"w");
if(fp==0) {
fail=1;
printf("Cannot open the file, please try again.\n");
}
else fail=0;
}while(fail);
free_memory();
t=0;
fclose(fp);
char ch[2];
do{
if(t==0){
t=(Teacher *)malloc(sizeof(Teacher));
n=t;
}
else{
n->next=(Teacher *)malloc(sizeof(Teacher));
n=n->next;
}
printf("Enter a new teacher ID: ");
scanf("%s",n->id);
printf("Enter the name of the teacher: ");
scanf("%s",n->name);
printf("Enter the gender of the teacher: ");
scanf("%c",n->gender);
printf("Enter the native place of the teacher: ");
scanf("%s",n->nativeplace);
printf("Enter the time when this teacher began to work: (yyyy/mm/dd) ");
scanf("%s",n->beginwork);
printf("Enter the subject of the teacher: ");
scanf("%s",n->subject);
printf("Enter the qualification of the teacher: ");
scanf("%s",n->qualification);
printf("Enter the degree of the teacher: ");
scanf("%s",n->degree);
printf("Enter the rank of the teacher: ");
scanf("%s",n->rank);
printf("Enter the office of the teacher: ");
scanf("%s",n->office);
n->next=0;
printf("Enter another teacher record? (y/n) ");
scanf("%s",ch);
}while(strcmp(ch,"Y")==0||strcmp(ch,"y")==0);
printf("New teacher data file has been created.\n");
}
}
void display(){
Teacher *n=t;
printf("ID Name Gender Native place Begin work Subject Qualification Degree Rank Office\n");
while(n!=0){
printf("%s %s %c %s %s %s %s %s %s %s\n",n->id,n->name,n->gender,n->name,n->beginwork,n->subject,n->qualification,n->degree,n->rank,n->office);
n=n->next;
}
}
void search(int c){
if(t==0){
printf("No teacher data file available.\n");
return;
}
int found=0;
Teacher *p=t;
if(c==1){
char name[30];
printf("Enter the name of the teacher: ");
scanf("%s",name);
printf("ID Name Gender Native place Begin work Subject Qualification Degree Rank Office\n");
while(p!=0){
if(strcmp(p->name,name)==0){
printf("%s %s %c %s %s %s %s %s %s %s\n",p->id,p->name,p->gender,p->name,p->beginwork,p->subject,p->qualification,p->degree,p->rank,p->office);
found++;
}
p=p->next;
}
if(found==0) printf("No such teacher exists in the date file.\n");
}
else if(c==2){
char id[10];
printf("Enter the ID of the teacher: ");
scanf("%s",id);
printf("ID Name Gender Native place Begin work Subject Qualification Degree Rank Office\n");
while(p!=0){
if(strcmp(p->id,id)==0){
printf("%s %s %c %s %s %s %s %s %s %s\n",p->id,p->name,p->gender,p->name,p->beginwork,p->subject,p->qualification,p->degree,p->rank,p->office);
found++;
}
p=p->next;
}
if(found==0) printf("No such teacher exists in the date file.\n");
}
else if(c==3){
char subject[50];
printf("Enter the subject of the teacher: ");
scanf("%s",subject);
printf("ID Name Gender Native place Begin work Subject Qualification Degree Rank Office\n");
while(p!=0){
if(strcmp(p->subject,subject)==0){
printf("%s %s %c %s %s %s %s %s %s %s\n",p->id,p->name,p->gender,p->name,p->beginwork,p->subject,p->qualification,p->degree,p->rank,p->office);
found++;
}
p=p->next;
}
if(found==0) printf("No such teacher exists in the date file.\n");
}
}
void del(char id[]){
Teacher *p1=t;
Teacher *p2;
if(strcmp(t->id,id)==0){t=t->next;free(p1);}
else{
while(p1!=0){
p2=p1;
p1=p1->next;
if(strcmp(p1->id,id)==0){
p2->next=p1->next;
free(p1);
}
}
printf("No such id exists.\n");
}
}
void insert(Teacher *n,int index){
if(index<=0) {n->next=t;t=n;}
else{
Teacher *p=t;
while(p->next!=0&&index>1){
p=p->next;
index--;
}
if(p->next==0) p->next=n;
else{
n->next=p->next;
p->next=n;
}
}
}
void modify(char id[]){
Teacher *p=t;
while(p!=0){
if(strcmp(p->id,id)==0) break;
else p=p->next;
}
if(p==0){
printf("No such record exists.\n");
return;
}
int i;
printf("ID Name Gender Native place Begin work Subject Qualification Degree Rank Office\n");
printf("%s %s %c %s %s %s %s %s %s %s\n",p->id,p->name,p->gender,p->name,p->beginwork,p->subject,p->qualification,p->degree,p->rank,p->office);
int c;
printf("What do you want to change?\n");
printf("1.ID 2.Name 3.Gender 4.Native place 5.Begin work 6.Subject 7.Qualification 8.Degree 9.Rank 10.Office\n");
scanf("%d",&c);
if(c==1){
printf("Enter the new ID: ");
scanf("%s",p->id);
}
else if(c==2){
printf("Enter the new name: ");
scanf("%s",p->name);
}
else if(c==3){
printf("Enter the new gender: ");
scanf("%c",p->gender);
}
else if(c==4){
printf("Enter the native place: ");
scanf("%s",p->nativeplace);
}
else if(c==5){
printf("Ente the time this teacher began to work: ");
scanf("%s",p->beginwork);
}
else if(c==6){
printf("Enter the subject: ");
scanf("%s",p->subject);
}
else if(c==7){
printf("Enter the qualification: ");
scanf("%s",p->qualification);
}
else if(c==8){
printf("Enter the degree: ");
scanf("%s",p->degree);
}
else if(c==9){
printf("Enter the rank: ");
scanf("%s",p->rank);
}
else if(c==10){
printf("Enter the office: ");
scanf("%s",p->office);
}
printf("\nThe modified record:\n");
printf("ID Name Gender Native place Begin work Subject Qualification Degree Rank Office\n");
printf("%s %s %c %s %s %s %s %s %s %s\n",p->id,p->name,p->gender,p->name,p->beginwork,p->subject,p->qualification,p->degree,p->rank,p->office);
}
void save(){
if(t==0&&strcmp(filename,"")==0){
printf("No teacher record in store. Load a teacher data file first.\n");
return;
}
fp=fopen(filename,"w");
Teacher *n=t;
while(n!=0){
fprintf(fp,"%s %s %c %s %s %s %s %s %s %s\n",n->id,n->name,n->gender,n->nativeplace,n->beginwork,n->subject,n->qualification,n->degree,n->rank,n->office);
n=n->next;
}
fclose(fp);
printf("File saved.\n");
}
int main(){
int i;
do{
printf("Enter the function you want:\n");
printf("1.Load 2.Add 3.Insert 4.Delete 5.Search 6.Display 7.Modify 8.Save 9.Quit\n");
scanf("%d",&i);
if(i==1){
load();
}
else if(i==2){
if(t==0) printf("No teacher data file loaded yet.\n");
else{
Teacher *n=(Teacher *)malloc(sizeof(Teacher));
printf("Enter a new teacher ID: ");
scanf("%s",n->id);
printf("Enter the name of the teacher: ");
scanf("%s",n->name);
printf("Enter the gender of the teacher: ");
scanf("%c",n->gender);
printf("Enter the native place of the teacher: ");
scanf("%s",n->nativeplace);
printf("Enter the time when this teacher began to work: (yyyy/mm/dd) ");
scanf("%s",n->beginwork);
printf("Enter the subject of the teacher: ");
scanf("%s",n->subject);
printf("Enter the qualification of the teacher: ");
scanf("%s",n->qualification);
printf("Enter the degree of the teacher: ");
scanf("%s",n->degree);
printf("Enter the rank of the teacher: ");
scanf("%s",n->rank);
printf("Enter the office of the teacher: ");
scanf("%s",n->office);
n->next=0;
int c=0;
Teacher *p=t;
while(p!=0){
c++;
p=p->next;
}
insert(n,c);
}
}
else if(i==3){
if(t==0) printf("No teacher data file loaded yet.\n");
else{
Teacher *n=(Teacher *)malloc(sizeof(Teacher));
printf("Enter a new teacher ID: ");
scanf("%s",n->id);
printf("Enter the name of the teacher: ");
scanf("%s",n->name);
printf("Enter the gender of the teacher: ");
scanf("%c",n->gender);
printf("Enter the native place of the teacher: ");
scanf("%s",n->nativeplace);
printf("Enter the time when this teacher began to work: (yyyy/mm/dd) ");
scanf("%s",n->beginwork);
printf("Enter the subject of the teacher: ");
scanf("%s",n->subject);
printf("Enter the qualification of the teacher: ");
scanf("%s",n->qualification);
printf("Enter the degree of the teacher: ");
scanf("%s",n->degree);
printf("Enter the rank of the teacher: ");
scanf("%s",n->rank);
printf("Enter the office of the teacher: ");
scanf("%s",n->office);
n->next=0;
int c;
printf("Enter the index: ");
scanf("%d",&c);
insert(n,c);
}
}
else if(i==4){
char id[10];
printf("Enter the id: ");
scanf("%s",id);
del(id);
}
else if(i==5){
int i;
printf("Choose the way you want to search: ");
printf("1.Name 2.ID 3.Subject\n");
scanf("%d",&i);
search(i);
}
else if(i==6){
display();
}
else if(i==7){
char id[10];
printf("Enter the ID of the record you want to change: ");
scanf("%s",id);
modify(id);
}
else if(i==8){
save();
}
else if(i==9){
Teacher *p;
while(t!=0){
p=t->next;
free(t);
t=p;
}
break;
}
}while(1);
return 0;
}
7. 用C语言编出一个简单的教师信息管理系统。 要求 教师信息包括教师号
什么时候要东西 我帮你
8. 小学信息技术骨干教师有考C语言编程吗
这是几年前的考试题,是有c语言编程的
教师招考试题(专业课:信息技术)
一、选择题24个题(24)
1、 mp3不仅可以听歌还是一个(可移动硬盘)
2、粘贴快捷键是(ctrl+v)
3、在打开多个窗口情况下,活动窗口和其他窗口的区别是(标题栏为蓝色)
4、控件上有(……)能出现对话框。
5、Word中的剪贴版可以复制几次
6、在编辑文件时突然断电,刚写的东西丢失了,我们非常后悔,那在编辑文件时文件暂时存储在什么地方Ram
7、word 中红色的波浪线是指(拼写错误)
绿色的波浪线是指(语法错误)
8、a1为1,b1为1,c1为1,d1为1,f1为0,e1输入sum(a1:f1)结果为:
9、幻灯片在浏览时什么情况会停止浏览。A:修改文件时
b:删除文件时 c: d:
10、计算机中内存最小的文件是(记事本),比如安装程序时关于安装说明等。
二、判断题14个题(14)
发送邮件时可以连同一个文件夹发送,
邮件可以发给多人,多个地址用分号或逗号隔开。
三、简答(12)
1、什么叫搜索引擎?常用的搜索引擎和搜索引擎的方法。
2、网址和域名的联系和区别是什么?举例说明。
3、计算机病毒的预防措施有哪些?
4、论坛中的信息和电视、报纸的信息,你更相信哪个,并举例说明理由。
四、根据附加内容写教学设计。
小学信息技术28-34页,上网时遇到喜欢的内容如何使用收藏夹。
---------------------------------------------
以上是去年的,都是计算机基础知识里的。
三、简答(2x8=16)
1、泡沫排序法
2、计算机的五种硬件及功能
四、分析(1x10=10)
c语言编程—---排列大小
9. 全国青少年信息学奥林匹克竞赛有考C语言么 (中学的..)
可以用C
初赛的试卷有PASCAL和C两种,但内容是一样的,只是把语言转了一下。
复赛PASCAL和C都可以用,反正只是看结果。
10. 教师信息管理系统(C语言)
这个=v=你先建个教师的Class再往里面填method吧 无外乎就是什么get set之类的
至于功能界面 你看看能不能用什么widget之类的插件吧