C++中结构体与类到底有什么区别

#include<iostream> using namespace std; typedef struct DemoS{     private:       char c;       char x;       int y;     public:     DemoS(){}     DemoS(char c,char x,int y):c(c),x(x),y(y)        {    
相关文章
相关标签/搜索