Darts console program hitch

closed account (2wC9GNh0)
ok so everything is going fine untill i found this..(i'm a noob by the way)

My console looks like this

(points : score)
***Player1***
501 : 180
321 : 180
141 : 141 (checkout)

what happens next is i produce a stats page with stuff like darts thrown and darts average ect..but i would like to show whats above in the stats and i can't because i use the same variable or score and points (it's sent through a function then rewriten after a throw obviously)

My Question is, is there some code so i can capture each line or value for printing later?..problem is, somebody could be throwing darts for a long time if you know what i mean.

Thanks.

Benny
Something like a vector array?

vector<float> gameArray; ?
Topic archived. No new replies allowed.