1樓:睡不著想你了
這麼簡單的東西自己動手寫寫。 先去考試,回來給你答案。
哥們,現在還需要嗎,需要的話回我一下,我動手做。
c語言做乙個小系統,先設計乙個選單程式,再具體寫出。
2樓:
#include
#include
#define num1 20
#define num2 20
#define num3 10
#define n 4
int num=0;
typedef struct studentstudent;
void newstring()
if(u[m]==0)
} }
}printf("%s\n",u);
}void fun()
printf("the result is %d\n",num);
}void studentgoal()
score=score/4.0;
printf("score=%f\n",score);
}void goodbye()
void main()
printf("do you want to continue(y/n)?");
scanf("%c",&start);
getchar();}}
如何用c語言程式編寫乙個學生成績管理系統,介面用選單進行設計。選單功能可用函式實現。
3樓:佳慧
# include
# include
# include
#include //用getch();
using namespace std;
// ̅ ̅
̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅student類 ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅
class student
void readfile(istream & in)
void show()
void additem()
student *findid(char * id)
};// ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅建構函式 ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅
studentmassage::studentmassage()
in.close();
cout<<"\t\t讀取學生資訊成功!"
delete head,end;
}// ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅選單 ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅
void studentmassage::showmenu()
else
else
// ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅
int studentmassage::listcount()//統計當前鍊錶的記錄總數,返回乙個整數
return n;
}// ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅
void studentmassage::sort()//對當前鍊錶進行排序
}cout <<"排序完成!"
out
out.close();
}// ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅主函式 ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅
int main()
}return 0;}
c語言圖書管理系統,C語言圖書管理系統程式
c 圖書管理系統原始碼 親,在網上自己搜系統用c開啟自己修改,你這樣要系統沒人會給你寫新的!c語言圖書管理系統程式 include include include include include struct book void search book void borrow book void r...
C語言的UI,如何用c語言設計介面?
1.可以自己編寫介面,十分麻煩要畫線,按鈕陰影,自己設計響應事件。vc提供的mfc是windows的,linux的話能可以用qt 與mfc類似的類庫 2.不是的,別的平台也可以,只是要注意相容性.3.學到什麼程度看你自己要幹什麼,如果要找工作,那麼先c c 然後如果你要linux就學 unix c ...
c語言停車場管理系統,C語言停車場管理系統
你好!有個類似的程式,基本滿足你的要求,可以根據你的需要修改 c語言停車場管理系統 100分 不夠類 呵呵 有個一兩w的差不多 乙個這樣的源 市面價值都是三五萬以上的 給你看點未完成的程式吧 自己看著挑有用的東西吧 標頭檔案 include include include 函式返回狀態 define...