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之類的插件吧