Solved

creating a high score list

Posted on 2001-09-18
6
250 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

624 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