+ 2

C++ - Splitting a string

I've in input any numbers, space-separed (e.g. "3 4 - 2"). Is there any predefined function in C++ to split this string by spaces and extract numbers in an array or any other data structures?

14th Aug 2019, 10:04 PM
Paolo De Nictolis
Paolo De Nictolis - avatar
2 Respuestas
14th Aug 2019, 10:31 PM
Paul Grasser
Paul Grasser - avatar