i extracted the values from the string with subst but then i need to use those values to work with them, the problem i cant solve is how to convert to float or int.
the specificactions of the project are very restrictive and it most be compiled only with cygwin g++ which doeesn't include stringstreams libraries
If you already have the code to pull out each token as a substring, then you can just use functions like strtod or strtol from cstdlib to convert. Just use c_str() function of string to pass to conversion functions as char*.