c++ reading from a file
Posted: Sat Aug 14, 2010 9:59 pm
I would like my program to read a file that has something like this:
name: test
health: 5
as you can see it has variables and what I would like to assign to them, should I go for a scripting language for this, or should I just use c++'s fstream?
name: test
health: 5
as you can see it has variables and what I would like to assign to them, should I go for a scripting language for this, or should I just use c++'s fstream?