+ 1
Split a String to an Array/Vector in C++
Sorry, but I don't really know how to explain it. In Python 3, we have something like: s = "123.456.789" n = list(map(int,s.split("."))) Is there a way to do something like that in C++? Whether saving it into an array or a vector. Thanks in advance!
2 Answers
+ 1
Thank you!