ex:
class a{ int ex : 4; //指這個int佔用4個bit,也只能用這4個bit };
int ex : 4; //指這個int佔用4個bit,也只能用這4個bit
class b{ int ex1; int ex2; b(int one, int two): ex1(one), ex2(two){ //constructor } };
int ex1; int ex2; b(int one, int two): ex1(one), ex2(two){ //constructor }
//constructor
沒有留言:
張貼留言