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

正文內容

單鏈表的建立查找插入刪除-資料下載頁

2025-06-30 18:45本頁面
  

【正文】 t i,k。 char ch。 link *p,*q。 cout當前線性表為:endl。 p=m。p=pnext。 if(m!=NULL) do {coutpdata 。 p=pnext。 }while(p!=NULL)。 coutendl。 cout請選擇您要的操作:。 cout 插入。 cout 查找。 cout 刪除。 cout 0、退出。 coutendl。 cink。 if(k==1) { cout請輸入您要插入的數(shù)據(jù)值:。 cinch。 cout請輸入您要插入的位置:。 cini。 p=ins(m,ch,i)。 q=print(m)。 } else if(k==2) { cout請輸入您要查找的數(shù)據(jù)值:。 cinch。 p=find(m,ch)。 q=print(m)。 } else if(k==3) { cout請輸入您要刪除的數(shù)據(jù)的位置:。 cini。 p=del(m,i)。 q=print(m)。 } else if(k==0) 。 else {cout輸入錯誤!endl。 q=print(m)。} return m。}int main(){ cout請輸入一串單字符數(shù)據(jù),以*結束!endl。 char ch。 link *r,*p,*q,*m。 m=(link *)malloc(sizeof(link))。 mnext=NULL。 r=m。 ch=getchar()。 while(ch!=39。*39。) { p=(link *)malloc(sizeof(link))。 pdata=ch。pnext=NULL。 rnext=p。r=rnext。 ch=getchar()。 } q=print(m)。 return 0。}
點擊復制文檔內容
環(huán)評公示相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1