摘要: string 转 char* 使用c_str() #include<bits/stdc++.h> using namespace std; int main(){ string s="abc"; printf("%s\n",s.c_str());//string 转 char * return 0; 阅读全文
posted @ 2021-02-16 23:37 XA科研 阅读(1709) 评论(0) 推荐(0) 编辑
摘要: Zhejiang University has 40,000 students and provides 2,500 courses. Now given the registered course list of each student, you are supposed to output t 阅读全文
posted @ 2021-02-16 23:29 XA科研 阅读(68) 评论(0) 推荐(0) 编辑
摘要: Zhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all the courses, you are supposed to output the 阅读全文
posted @ 2021-02-16 22:26 XA科研 阅读(71) 评论(0) 推荐(0) 编辑
摘要: A Digital Library contains millions of books, stored according to their titles, authors, key words of their abstracts, publishers, and published years 阅读全文
posted @ 2021-02-16 21:42 XA科研 阅读(69) 评论(0) 推荐(0) 编辑