上一页 1 2 3 4 5 6 7 8 9 ··· 53 下一页
摘要: ▲ 《C++ Primer》 P313 阅读全文
posted @ 2024-10-03 13:49 double64 阅读(10) 评论(0) 推荐(0) 编辑
摘要: ▲ 《C++ Primer》 P311 阅读全文
posted @ 2024-10-03 13:48 double64 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 《C++ Primer》 P310 阅读全文
posted @ 2024-10-03 13:40 double64 阅读(4) 评论(0) 推荐(0) 编辑
摘要: ▲ 《C++ Primer》 P305 阅读全文
posted @ 2024-10-03 13:37 double64 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 在4.11.3节(第145页)中我们说过,const_cast 在重载函数的情景中最有用。举个例子,回忆6.3.2节(第201页)的shorterstring 函数: //比较两个string对象的长度,返回较短的那个引用 const string &shorterString(const stri 阅读全文
posted @ 2024-09-29 15:51 double64 阅读(6) 评论(0) 推荐(0) 编辑
摘要: ▲ 《C++ Primer》 P302 assign list<string> names; vector<const char *> old_c_str{ "娃哈哈", "孟菲斯", "Hello Wold!" }; names.assign(old_c_str.cbegin(), old_c_s 阅读全文
posted @ 2024-09-27 22:09 double64 阅读(5) 评论(0) 推荐(0) 编辑
摘要: ▲ 《C++ Primer》 P299 阅读全文
posted @ 2024-09-26 08:07 double64 阅读(6) 评论(0) 推荐(0) 编辑
摘要: ▲ 容器操作 《C++ Primer》 P295 阅读全文
posted @ 2024-09-26 07:59 double64 阅读(5) 评论(0) 推荐(0) 编辑
摘要: ▲ 顺序容器类型 《C++ Primer》 P294 阅读全文
posted @ 2024-09-26 07:37 double64 阅读(3) 评论(0) 推荐(0) 编辑
摘要: IO 库: istream(输入流)类型,提供输入操作。 ostream(输出流)类型,提供输出操作。 cin,一个istream对象,从标准输入读取数据。 cout,一个ostream对象,向标准输出写入数据。 cerr,一个ostream对象,通常用于输出程序错误消息,写入到标准错误。 >>运算 阅读全文
posted @ 2024-09-24 23:02 double64 阅读(11) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 53 下一页
点击右上角即可分享
微信分享提示