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

正文內(nèi)容

課程設(shè)計(jì)--實(shí)現(xiàn)字符串的多種操作(編輯修改稿)

2024-07-10 16:27 本頁面
 

【文章內(nèi)容簡介】 tstrendl。 } void Strcat(char *z) { char *a。 a=new char[strlen(z)+length]。 strcpy(a,str)。 strcat(a,z)。 str=a。 coutstrendl。 } void Compare(char *b) { coutstr pare b is:strcmp(str,b)endl。 } char * substring(int start,int end) { char *newstr=new char[endstart+1]。 int i,j=0。 for(i=start。iend。i++,j++) newstr[j]=str[i]。 newstr[j]=39。\039。 return newstr。 } void exchange(char *e) { char *temp1,*temp2。 temp1=new char[length]。 temp2=new char[strlen(e)+1]。 strcpy(temp1,str)。 strcpy(temp2,e)。 str=temp2。 e=temp1。 couteendl。 coutstrendl。 } }。 void write(char s1[10]) { ofstream out。 (f:\\,ios::out|ios::ate|ios::app)。 if(!out) { coutCan not open file !endl。 } outs1\n。 ()。 } char * read() { ifstream in。 (f:\\,ios::in)。 if(!in) { coutCan not open file !endl。 return NULL。 } int k=1。 while(k) { (s,12)。k=0。} ()。 return s。 } char * read2(int k) { ifstream in。 (f:\\,ios::in)。 if(!in) { coutCan not open file !endl。 return
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1