摘要: 小小的一段strcpy函数,却能看出不少的问题。在此作一下备忘:#include<iostream>#include<string>usingnamespacestd;char*str_copy(char*dest,constchar*src);intmain(){char*src="thisisatest";cout<<strlen(src)<<e... 阅读全文
posted @ 2009-04-09 09:18 mcjeremy 阅读(3033) 评论(0) 推荐(0) 编辑
------------------------------------ 心静似高山流水不动,心清若巫峰雾气不沾 ------------------------------------