Yeah, I know I don't need that many includes, just easier for me to always cut and paste my list.
Now, in this program, I would expect to pull "37.00" and "0.90" out of the string, then acquire the percentage (via division and then multiplying by 100). However, if you run the program, instead I'm not getting decimals (for one) and two, it seems that it converts the "0.90" into "0". I've tried many different variations on the float vs double etc and this just happens to be the manifestation of the attempt that has led me to conclude that I don't know what's going on and or what I'm missing.
Whilst I haven't thoroughly examined your code, I note that you are turning the strings into integers before storing them in your floating point objects. Is this the source of your trouble?
Also googled that and found "strtok" and it didn't work either but it was because it said it couldn't "convert paramter 1 from 'const char *' to 'char *'
strtof lives in cstdlib, but it's not provided by every compiler. It's C99 and C++11, and if your compiler isn't compliant with one of those, you might not have it.
Do you have strtod? That's a bit older and you should have that.
strtok doesn't convert strings into numbers. It converts strings into other strings.