+ 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?
1 Antwort
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?