摘要: 左移运算符重载 可以输出自定义数据类型 #include <iostream> using namespace std; class Person{ friend ostream& operator<<(ostream& out,Person &p); public: Person(int a, i 阅读全文
posted @ 2021-01-20 12:12 flyingswallow 阅读(193) 评论(0) 推荐(0) 编辑