Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 259
  • Last Modified:

creating a high score list

I want to create a high score list that remembers my high scores how would i declare this variable?
0
scotts28
Asked:
scotts28
  • 4
  • 2
1 Solution
 
AxterCommented:
Is this homework?
0
 
scotts28Author Commented:
No im just playing around trying to create a simple game.
0
 
AxterCommented:
Are you asking how to save the high score to a file?
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now