2011年3月24日
摘要: 不能及时总结,就会习惯忘记。一strcpy(char destination[], const char source[]);strcpy:将字符串source拷贝到字符串destination中。strcpy函数应用举例原型:strcpy(char destination[], const char source[]);功能:将字符串source拷贝到字符串destination中View Code #include <iostream.h>#include <string.h>void main(void){ char str1[10] = { "Tsin 阅读全文
posted @ 2011-03-24 22:53 Frank.Fan 阅读(1833) 评论(0) 推荐(0) 编辑