摘要: 1 /*** 2 * vector 基础api复习 3 * 8 AUG 2018 4 */ 5 6 #include 7 #include 8 using namespace std; 9 10 // 打印vec向量 11 void print(vector vec, int index) 12 { 13 std::cout vec0(10, 1); ... 阅读全文
posted @ 2018-08-08 18:28 糖醋麻辣虾 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 1 /*** 2 * string 基础api复习 3 * 8 AUG 2018 4 */ 5 6 #include 7 #include 8 using namespace std; 9 10 void print(string str, int index) 11 { 12 std::cout << "str" << index... 阅读全文
posted @ 2018-08-08 10:48 糖醋麻辣虾 阅读(521) 评论(0) 推荐(0) 编辑