摘要:
#include<iostream> #include<string.h> using namespace std; struct date //结构体可以定义在函数内,但是不能在函数外调用 { int year; int month; int day; }X1,X2,X3; //在没有typede 阅读全文
摘要:
#include<iostream> #include<string> using namespace std; class point{ private: int x; int y; public: void setx(int x){ this->x=x; } int getx(){ return 阅读全文