I have a string which is x = 5 and i spliced it to x 5 then declare a map
map<string, double> variableMap;
i put them into a map use
variableMap.insert(make_pair(splitString.at(0), stod(splitString.at(1))));
splitString.at(0)
will be x and stod(splitString.at(1))
will be 5
but when i was trying to get the value from find key by using
map<string, double>::iterator iter;
iter = variableMap.find("x");
cout << iter->second<<endl;
it prints 6.95321e-310
this is really weird