2014年8月21日

摘要: 关于字符串函数的应用细则,例子程序 – jerny函数名: stpcpy 功 能: 拷贝一个字符串到另一个 用 法: char *stpcpy(char *destin, char *source); 程序例: #include #include int main(void) { ch... 阅读全文
posted @ 2014-08-21 13:11 程序+爱=人生 阅读(295) 评论(0) 推荐(0) 编辑
 
摘要: C、传统 C++ #include //设定插入点 #include //字符处理 #include //定义错误码 #include //浮点数处理 #include //文件输入/输出 #include //参数化输入/输出 #include //数据流输入/输出 #include... 阅读全文
posted @ 2014-08-21 12:53 程序+爱=人生 阅读(216) 评论(0) 推荐(0) 编辑
 
摘要: 1:字符数组换为字符串见代码[cpp]view plaincopyprint?#include#includeusingnamespacestd;intmain(){chara[10]="aaaabbbba";strings(&a[0],&a[strlen(a)]);cout#includeusin... 阅读全文
posted @ 2014-08-21 10:44 程序+爱=人生 阅读(242) 评论(0) 推荐(0) 编辑