标签:public sim tween and person efi can efault int
similarity:
1. struct is class, can declare, define field funcion
struct Person {
int age;
int height;
void SetAge(int age);
int GetAge();
};
class Person {
int age;
int height;
void SetAge(int age);
int GetAge();
};
difference:
1. class default field is private, struct default field is public
similarity and difference between "struct" and "class"
标签:public sim tween and person efi can efault int
原文地址:http://www.cnblogs.com/roadmap99/p/6752988.html