如果定義了類別內初始式(in-class initializer),那麼預設建構式會使用初始式,例如: class Account { public: string id = "000-000-000"; ...
確定! 回上一頁