Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

creating a high score list

Posted on 2001-09-18
6
Medium Priority
?
256 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 80 total points
ID: 6491574
Are you asking how to save the high score to a file?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

963 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