C++におけるクラスと構造体の違い
318 ワード
(class,struct) , , 。
c ,c++ , class 。
structs are often used to hold small sets of data, whereas
classes are more often used when there are methods
(class,struct) , , 。
c ,c++ , class 。
structs are often used to hold small sets of data, whereas
classes are more often used when there are methods