i am trying to read numbers from a string.
whatever i read i want it in the form of integers.
i tried using getline function to take it as an integer.
Also tried strtok but failing somewhere while integrating in the final code.
Please suggest different way to do this.
I read another post on strtol can u pls throw some light on strtol or anyother way to do this?