So I have a text file that looks some thing like this
one = 1
two = 2
three = 3.3
name = "Name"
How do I read this into my code so that the one, two, three etc become the variable names(in fact they already exist in the class) with their associated values from the file?
I can use std::map, but that's only good for a single variable type, like for example int.