I Just finished the homework for tutorial 7(streams, std::string). Chili asked to make snek game use a config file. I was hoping someone wouldn't mind looking over my code and giving me some pointers
https://github.com/JamesMFox/SnekGame/tree/I7-hw
Intermediate Tutorial 7
Re: Intermediate Tutorial 7
Seems alright. I personally prefer using >> directly for parsing. Less stuff to mess around with (substr / stoi). If you wanted to take things further, some error detection (missing fields) would be nice.
Overall, it works and isn't too hard to follow, good works.
Overall, it works and isn't too hard to follow, good works.
Chili