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

正文內(nèi)容

列車時刻查詢系統(tǒng)設(shè)計--c課程設(shè)計報告-文庫吧資料

2025-01-23 13:26本頁面
  

【正文】 。 size = 0。 // 移動到下一結(jié)點 } head = tail = NULL。 FreeNode(currPosition)。 currPosition = head。 CopyList(L)。 size = 0。 L){ head= tail = NULL。 position=0。 tail=NULL。 currPtr = currPtrNextNode()。 pos != position。 currPtr = head。 } //如果鏈表空,返回 if (position == 1) return。 //將L中的每一個元素插入到當(dāng)前鏈表最后 while (p != NULL) { InsertRear(pdata)。 L){ //P用來遍歷L NodeT *p = 。}templateclass Tvoid LinkedListT::FreeNode(NodeT *p){ delete p。 exit(1)。 p = new NodeT(item,ptrnext)。templateclass TNodeT* LinkedListT::GetNode(const T amp。 void ClearList(void)。 Tamp。 T DeleteFront()。 void InsertAfter(const Tamp。 void InsertAt(const Tamp。 void InsertRear(const Tamp。 void InsertFront(const Tamp。 int EndOfList()const。 void Reset(int pos=0)。 int ListSize()const。 operator=(const LinkedListT amp。 ~LinkedList()。 LinkedList(const LinkedListT amp。 L)。 void FreeNode(NodeT * p)。 NodeT * GetNode(const T amp。 int size。}//鏈表類templateclass Tclass LinkedList{ private: NodeT * head,* tail。 next=tempPtrnext。}templateclass TNodeT * NodeT::DeleteAfter(){ NodeT * tempPtr=next。}templateclass Tvoid NodeT::InsertAfter(NodeT *p){ pnext=next。templateclass TNodeT::Node(const Tamp。 NodeT * NextNode()const。 void InsertAfter(NodeT * p)。 Node (const T amp。}四、 個性功能介紹:i) 鏈表模板類的聲明與實現(xiàn):/*節(jié)點類*/ templateclass Tclass Node{ private: NodeT * next。 ()。 while(!()) { p=()。}void Display(){ Train p。 } if(pos==0) cout沒有此信息。 pos=(str1)。 ()。 cout請輸入車次:。 long pos=0。 system(pause)。 ()。 while(!()) { p=()。 cinstr3。 cinstr2。 Train p。}void SerchAsPlace(){ char str2[20],str3[20]。 cinm。 cout是否想繼續(xù)輸入:,,否。 } else cout輸入錯誤!。 } else if(n==4) { Ktrain t(str1,str2,str3,y1)。 } else if(n==3) { Ttrain t(str1,str2,str3,y1)。 } else if(n==2) { Dtrain t(str1,str2,str3,y1)。 if(n==1) { Ztrain t(str1,str2,str3,y1)。 cout請輸入終點站:。 cout請輸入始發(fā)站:。 =hour。 cout請輸入發(fā)車時間(時和分中間用空格隔開):endl。 cout請輸入車次:。 while(m==1) { cout請輸入列車的類型:(,直達快車 2,動車組3,特快車 4,快車)endl。 Time y1。 char str2[20],str3[20]。 char str1[10]。 cout請選擇。 coutf、退出\n。 coutd、顯示所有列車信息\n。 coutb、按始發(fā)站終點站查詢信息\n。 } /*主菜單*/void ShowMenu(){ cout\n*******************************************\n。 } //system(cls)。 break。f39。 break。 Save()。e39。 break。 Display()。d39。 break。
點擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1