Irritation: I actually tried searching the forum for this, but a phrase like "text file" was rejected because the words are too common. -.-
Issue:
I'm trying to read from a configuration file. I have no idea how to do this. I've done a bunch of googlin' but this seems to be too simple for anyone to bother with tutorial examples. =p So I'm looking to do the following:
Here's a sample text file:
Code: Select all
name:Ogg
type:caveman
stats:123
Code: Select all
This is the <type> <name> whose Muscles is <first digit of stats:> and Brains is <second digit of stats:> and Feets is <third digit of stats:>