摘要:
#include<iostream> using namespace std; int main() { int x,y; cin>>x>>y; if (x < y) { int tmp = y; y = x; x = tmp; } for (int i = y; i >= 1; i-- ) { i 阅读全文
摘要:
#include <iostream> using namespace std; #include<cmath> #include"time_user.h" class point { private: int x, y, z; public: void set() { cin >> x >> y 阅读全文
摘要:
#include<iostream> using namespace std; #include<string> class mother { public: mother() { cout << "mother\n"; } }; class daughter : public mother { p 阅读全文
摘要:
#include<iostream> using namespace std; int i = 1; void other() { static int a = 2; static int b; int c = 10; a += 2; i += 32; c += 5; cout << " OTHER 阅读全文
摘要:
#include<iostream> using namespace std; class Time; class Date { public: Date(int, int, int); void display(Time&); private: int year, month, day; }; c 阅读全文