creating a high score list

I want to create a high score list that remembers my high scores how would i declare this variable?
scotts28Asked:
Who is Participating?
 
AxterCommented:
Are you asking how to save the high score to a file?
0
 
AxterCommented:
Is this homework?
0
 
scotts28Author Commented:
No im just playing around trying to create a simple game.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
AxterCommented:
Or are you asking how to create an array of highscores?
0
 
scotts28Author Commented:
you just answered it i was not thinking
0
 
AxterCommented:
You can create an array several ways.

int HighScores[10]; //Ten highscores
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.