簡單的說,struct是實值型別,class是參考型別,因此struct適合來定義"輕量型"的物件, 另外struct不支援繼承. 以上如有錯誤,請各位先進指正, ...
www.google.com.tw