For example, let say a string is "1 3 -1 3 4 5" and i just simply wanted to extract all those integers.
I am looking for easy way to do this. Most others I have seen need to use stodi.h class, and I am looking to avoid using additional class.
For example, let say a string is "1 3 -1 3 4 5" and i just simply wanted to extract all those integers.
I am looking for easy way to do this. Most others I have seen need to use stodi.h class, and I am looking to avoid using additional class.