Leaderboard help.

I'm trying to make a leaderboard program with limited knowledge of c++ (one semester of an introductory coarse on programming and c++). I'm having trouble remembering how to imput user-generated text into two different one dimensional arrays. Any tips? Thanks.

For example:

cout << "Enter your name: " << endl;
cin >> username;

cout << "Enter your score: " << endl;
cin >> score;

and then having them be inputted into two arrays.
This site hosts a basic tutorial of c++, and since you took an introductory course it should be easier to re-learn.
http://www.cplusplus.com/doc/tutorial/
Put those four lines in the body of a loop.
Now add line 3: array_a[i]=username
and line 6 :array_b[i]=score
Topic archived. No new replies allowed.