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

正文內容

課程設計--實現(xiàn)字符串的多種操作-在線瀏覽

2024-07-31 16:27本頁面
  

【正文】 符串比較 字符串復制 字符串交換 字符串類的設計 輸入字符串 …… 對字符串連接 輸出運算后的結果 char s[12]。 const int MAX=5。 int length。 cout\t▲▼◥▲ 歡迎進入字符串設計 ▲▼◥▲ \tendl。 cout *^_^* 功能選擇菜單 endl。 cout ★★★ 2 enter ,執(zhí)行字符串鏈接 !!! ★★★ endl。 cout ★★★ 4 enter ,執(zhí)行字符串求字串 !!! ★★★ endl。 cout ★★★ 0 enter ,退出 ...endl。 strcpy(str,s)。 coutConstruct String!\n。 } void Strcpy(char *s) { char *x。 strcpy(x,s)。 str=x。 coutstrendl。 a=new char[strlen(z)+length]。 strcat(a,z)。 coutstrendl。 } char * substring(int start,int end) { char *newstr=new char[endstart+1]。 for(i=start。i++,j++) newstr[j]=str[i]。\039。 } void exchange(char *e) { char *temp1,*temp2。 temp2=new char[strlen(e)+1]。 strcpy(temp2,e)。 e=temp1。 coutstrendl。 void write(char s1[10]) { ofstream out。 if(!out) { coutCan not open file !endl。 ()。 (f:\\,ios::in)。 return NULL。 while(k) { (s,12)。} ()。 } char * read2(int k) { ifstream in。 if(!in) { coutCan not open file !e
點擊復制文檔內容
畢業(yè)設計相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1