#39727: C++ RE問題


reese60525@gmail.com (reese)


程式碼如下

懇求大佬指導!

https://pastebin.com/cVE4VVXW

#39738: Re: C++ RE問題


cges30901 (cges30901)


程式碼如下

懇求大佬指導!

https://pastebin.com/cVE4VVXW


            if (input[i] - 48 >= 0 && input[i] - 48 <= 9)
                input_number.push_back(input[i] - 48); // char to int

數字不只一位數吧

#39745: Re: C++ RE問題


reese60525@gmail.com (reese)


程式碼如下

懇求大佬指導!

https://pastebin.com/cVE4VVXW


            if (input[i] - 48 >= 0 && input[i] - 48 <= 9)
                input_number.push_back(input[i] - 48); // char to int

數字不只一位數吧

感謝!