blob: 87b7eae6ac5dd019621f98e2880f0357911ab08c (
plain) (
tree)
|
|
class myClass {
public:
myClass() = default;
~myClass() {}
void myMehtod1(void) {}
void myMehtod2(void) {}
private:
int a;
float b;
};
struct myStruct {
myStruct();
~myStruct();
};
union myUnion {
int a;
double b;
int app;
};
struct verymuchStruct {
int myinteger;
int yourinteger;
int ourinteger;
};
void myFunc1(void) {}
void myFunc2(void) {}
int main (int argc, char** argv) {
myClass mc;
mc.myMehtod1();
mc.myMehtod2();
int a;
float b;
int c,d;
a = c+d;
return 0;
}
|