摘要: //c_str()是为了与C语言兼容,把c++中string类型的字符串返回首地址使用 #include <iostream>#include <string.h>using namespace std;int main(){ string aaa; cin >> aaa; //const char 阅读全文
posted @ 2016-05-25 11:04 961897 阅读(636) 评论(0) 推荐(0) 编辑