Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
たとえば、ユーザーが「2314」と入力したとします。各数値を取得して、配列内の独自のフィールドに入れる最も簡単な方法は何ですか?
文字列に変換してから、各数値を char として分離しようとしましたが、char から int に変換する方法がわかりません。