struct裡面也可以寫constructor、destructor和method,上面的struct改成這個寫法效果是一樣的。 class Class{ public: static uint64_t instanceCount;
確定! 回上一頁