摘要: 构造 string::string - C++ Reference (cplusplus.com) 常用函数 分离字符串abc.in - 顿河顿河 - 博客园 (cnblogs.com) 特殊的成员 https://cplusplus.com/reference/string/string/npos 阅读全文
posted @ 2022-08-04 23:54 dunhedunhe 阅读(34) 评论(0) 推荐(0)
摘要: cout的计算顺序从右向左,输出顺序从左向右 假设a = 1; b = 2; c = 3;cout<<a<<b<<c<<endl;缓冲区:|3|2|1|<- (把“<-”看作是指针)输出: |3|2|<- (输出 1) |3|<- (输出 2) |<- (输出 3)结果就是123. C++输出流co 阅读全文
posted @ 2022-08-04 21:48 dunhedunhe 阅读(539) 评论(0) 推荐(0)