发布时间:2016-02-17 18:33:57
一、class成员默认私有,struct成员默认公有#include using namespace std;class CPoint{int x;void print(){}public:CPoint(int x,int y){this->x = x;this->y = y;}void print1(){}};struct Spoint{int x;int y;void printf(){}Spoint(int x, int y){this->x = x;this->y = y;.........【阅读全文】