摘要: #include <iostream> #include <string> using namespace std; int main() { string s="12345"; const char* p=s.c_str(); //用C语言的方式定义一个指针p,使它指向C++中字符串s //c_s 阅读全文
posted @ 2019-09-27 20:23 repinkply 阅读(61) 评论(0) 推荐(0)