I'm trying to make a map loader for a simple game, but I'm confused on how to do so. I keep on running into the error of loading a float into a char, or vice versa. I also want to try and make it so whitespace doesn't matter. Can anyone lead me to a tutorial on how to read files like this? All I can ever find is simple hello world ifstream tutorials.