Solved

creating a high score list

Posted on 2001-09-18
6
244 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
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 use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
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.

746 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now