By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,515 Members | 1,772 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,515 IT Pros & Developers. It's quick & easy.

Help with c++ coding

P: 1
I want to put in our arckives this information about the players , can we get help how to make a c++ code. We want it to be as what we wrote below. Iam really need a program for our fotballs teams basket , fotball , vollyball .To start the code with writing the name of one team , exemple Fotball. When i wrote it will come up a menu list with two options:
The team is: Fotball
1) Add a new player
(2) Show all the players
if i choose (1) it will give me:
The team is : Fotball
Add in new player nr (1).
Here i have to write the player first name , last name , age and position ). When i finished this one it will go back automatic to the menu. i will choose this time nr (2) which it is going to show the list of the player , (i wrote three players on the summary) . When all the players seen , i want to click one key to go back to the menu again. If i choose 0 any time i will close the code. Hope you understand and want to help us. Sorry i wrote a lot, but becuse we didnīt succsess. Thanks


1. Programet start with writing the name of the team

Write the name of the team: Fotball

2. Menu it will shows with two options , add a new player or show all the players.

Teams namn: Fotball
(1) Add new player.
(2) Show all the players.

(0) Close

Choose: 1

Teams namn: Fotball

Add a player nr 1

First name: John // You write all this information
Last name: Phillip
Age: 24
Position: Forward

*When you put the player programet go to the menu

Teams namn: Fotball

(1) Add new player.
(2) Show all the players.

(0) Close

Choose: 2 // to show all the players

Teams namn: Fotball

1. Phillip, John 37 Forward
2. Ritchard, Jan 26 Back
3. Nils , Hans 32 Goalkeeper

Click en key to go to menu

Teams name: Fotball

(1) Add new player.
(2) Show all the players

(0) Close

Choose: 0
Oct 23 '05 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.