Solved

creating a high score list

Posted on 2001-09-18
6
246 Views
Last Modified: 2010-04-02
I want to create a high score list that remembers my high scores how would i declare this variable?
0
Comment
Question by:scotts28
  • 4
  • 2
6 Comments
 
LVL 30

Expert Comment

by:Axter
ID: 6491560
Is this homework?
0
 

Author Comment

by:scotts28
ID: 6491562
No im just playing around trying to create a simple game.
0
 
LVL 30

Accepted Solution

by:
Axter earned 20 total points
ID: 6491574
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.

 
LVL 30

Expert Comment

by:Axter
ID: 6491576
Or are you asking how to create an array of highscores?
0
 

Author Comment

by:scotts28
ID: 6491578
you just answered it i was not thinking
0
 
LVL 30

Expert Comment

by:Axter
ID: 6491582
You can create an array several ways.

int HighScores[10]; //Ten highscores
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question