摘要:
#include <iostream> using namespace std; class Dog { public: void setdata() { cin >> name >> age >> sex >> weight; } void GetName() { cout << "它的名字叫" 阅读全文
posted @ 2023-04-15 18:55
不会JAVA的小袁
阅读(18)
评论(0)
推荐(0)
摘要:
#include<iostream>using namespace std;class Time{ friend ostream& operator<<(ostream& cout, Time& t); friend istream& operator>>(istream& cin, Time& t 阅读全文
posted @ 2023-04-15 18:37
不会JAVA的小袁
阅读(18)
评论(0)
推荐(0)