I am having a difficult time thinking of a way to extract a number such as an int or a double from a string extracted from the getline() function.
//Example:
string data = "";
fstream inFile;
//File contains:
"Hello today is 83.3 degrees Fahrenheit."
// use the getline function
getline(inFile, data);
// extract number from string data
Thank You