freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

c語言程序設(shè)計作業(yè)源程序之圖書信息管理系統(tǒng)(編輯修改稿)

2024-09-03 01:50 本頁面
 

【文章內(nèi)容簡介】 rintf(%s\t%\t%s\n,pname,pprice,ppub)。p=plink。}printf(\n\t\tPress any keys!)。getch()。}/*******************************************************//* 函數(shù)功能:鏈表存儲 *//* 輸入?yún)?shù):鏈表頭指針 *//* 函數(shù)輸出:無 *//*******************************************************/void save(struct node *head) {FILE *fp。struct node *p。if ((fp=fopen(library,wb))==NULL){ printf(Can39。t open file!\n)。exit(1)。}p=head。while (p!=NULL){fwrite(p,sizeof(struct node),1,fp)。p=plink。}fclose(fp)。}/*******************************************************//* 函數(shù)功能:從文件中讀入數(shù)據(jù),創(chuàng)建鏈表 *//* 輸入?yún)?shù):無 *//* 函數(shù)輸出:鏈表頭指針 *//*******************************************************/struct node *load(void){FILE *fp。struct node *p,*pnew,*phead。if ((fp=fopen(library,rb))==NULL){ printf(Can39。t open file!\n)。exit(1)。}pnew=(struct node *)malloc(sizeof(struct node))。fread(pnew, sizeof(struct node),1,fp)。pnewlink=NULL。phead=pnew。p=pnew。while (!feof(fp)){ pnew=(struct node *)malloc(sizeof(struct node))。if (1!=fread(pnew, sizeof(struct node),1,fp)) break。pnewlink=NULL。plink=pnew。p=plink。}fclose(fp)。return(phead)。}/*******************************************************//* 函數(shù)功能:鏈表結(jié)點(diǎn)查找 *//* 輸入?yún)?shù):鏈表頭指針 *//* 函數(shù)輸出:無 *//*******************************************************/void search(struct node *head){char sname[15]。struct node
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1