手邊剛好有一個我覺得算不錯的例子: 利用strtol實作字串轉整數有error handling ... class Atoi{ protected: long mVal; public: enum Error{ // .
確定! 回上一頁