Originally Posted by
g4j31a5
Use a string tokenizer to get each string that is divided by a space. And for the first value (the chromosome 06), you just have to parse it yourself after you got it from the tokenizer. Just remember though that the outputs are strings (ie. pointer of chars) so you have to convert it to an integer before using it as array indices. Hope that helps.
PS: Last time I used STL string tokenizer, it was not working correctly (dunno now) so I suggest you use Boost C++'s tokenizer or you can make them yourself. :D