摘要: 在写C/C++时,字符/字符串的I/O一直是一件让我非常头疼的事情。 提前声明:C字符串为char[]或char *类型,#include <string.h> 而C++字符串为string类型。#include <string> 遇到的问题: 1.初始化问题 定义C字符串时,有如下问题 C++字符 阅读全文
posted @ 2018-05-10 19:13 睿阳 阅读(1767) 评论(0) 推荐(0) 编辑