posted 20 years ago
I have a program that reads from a file, stores the data in a vector, then displays it on a screen. The problem is that when the screen is first brought up it contains no data but I would like for it to have the first data from the vector. Another problem is that the first time I press the next button I get the second elements in the vector, after that I don't ever get the data to change, it just stays on the second element although it looks to me like it is cycling through the vector.