摘要:
#include <iostream>#include <string>using namespace std;void reverse1(char * to,const char* from);void main(){ const char *str1="nicksam"; char *str2=new char(); strcpy(str2,str1); cout <<str2<<endl; char *str3=new char(); reverse1(str3,str1); cout <<str3<& 阅读全文
posted @ 2012-05-14 00:14 紫冰龙 阅读(186) 评论(0) 推荐(0) 编辑