I have a "little" problem..
I want the user to input a string and a number value associated to it..
like this :
so I want to put those variable in a map<string,float>
so guessed I could put the first value all together in a temp string, then sort it out afterward.
using something like cin.get and isspace().
So basuically I need a way to go through a string until a white-space is encoutered. Put the first value into another string (map) and put whatever else is after in float(map)...?