{"rsdb":{"rid":"158456","subhead":"","postdate":"0","aid":"118824","fid":"49","uid":"1","topic":"1","content":"
\n

\u5220\u9664\u5b57\u7b26\uff1a\u4ece\u4e00\u4e2a\u5b57\u7b26\u4e32\u4e2d\u95f4\u5220\u9664\u5b57\u7b26<\/p> \n

\r\nvoid erase(char text[],int index)\r\n{\r\n    int len=strlen(text);\r\n    for(int i=index;i\n  \n   

\u5982\u679c\u8981\u4ece\u4e00\u4e2a\u5b57\u7b26\u4e32\u91cc\u5220\u9664\u591a\u4e2a\u4e0d\u76f8\u90bb\u7684\u5b57\u7b26\uff0c\u5219\u6700\u4f73\u65b9\u6848\u662f\u590d\u5236\u4e00\u4efd\uff0c\u8fd9\u6837\u53ea\u62f7\u8d1d\u4e00\u6b21\u3002<\/p>\n

void erase(char text[],char del)\r\n{\r\n    int len=strlen(text);\/\/\u539f\u5b57\u7b26\u4e32\u957f\u5ea6\r\n    int count=0;\r\n    char* copy=(char*)malloc(len+1);\r\n    for(int i=0;i\n    \n     

\u63d2\u5165\u5b57\u7b26\uff1a<\/p>\n

void insert(char text[],int index,char ins)\r\n{\r\n   int len=strlen(text);\r\n   for(int i=len;i>index;i--)\r\n   {\r\n       text[i]=text[i-1];\/\/\u540e\u9762\u7684\u5b57\u7b26\u524d\u79fb\r\n   }\r\n   text[index]=ins;\r\n}<\/pre>\r\n\n    <\/len;i++)><\/pre>\r\n\n  <\/len;i++)><\/pre> \n<\/div>","orderid":"0","title":"C++\u57fa\u7840\u4e4b\u5b57\u7b26\u4e32\u7684\u63d2\u5165\u4e0e\u5220\u9664","smalltitle":"","mid":"0","fname":"c++\u7f16\u7a0b\u57fa\u7840","special_id":"0","bak_id":"0","info":"0","hits":"430","pages":"1","comments":"0","posttime":"2017-09-19 13:06:19","list":"1505797579","username":"admin","author":"","copyfrom":"","copyfromurl":"","titlecolor":"","fonttype":"0","titleicon":"0","picurl":"https:\/\/www.cppentry.com\/upload_files\/","ispic":"0","yz":"1","yzer":"","yztime":"0","levels":"0","levelstime":"0","keywords":"\u57fa\u7840<\/A> \u5b57\u7b26\u4e32<\/A> \u63d2\u5165<\/A> \u5220\u9664<\/A>","jumpurl":"","iframeurl":"","style":"","template":"a:3:{s:4:\"head\";s:0:\"\";s:4:\"foot\";s:0:\"\";s:8:\"bencandy\";s:0:\"\";}","target":"0","ip":"113.108.110.181","lastfid":"0","money":"0","buyuser":"","passwd":"","allowdown":"","allowview":"","editer":"","edittime":"0","begintime":"0","endtime":"0","description":"C++\u57fa\u7840\u4e4b\u5b57\u7b26\u4e32\u7684\u63d2\u5165\u4e0e\u5220\u9664","lastview":"1714052932","digg_num":"3857","digg_time":"0","forbidcomment":"0","ifvote":"0","heart":"","htmlname":"","city_id":"0"},"page":"1"}