Homework

Homework Questions? Ask a Tutor for Answers ASAP

Ask an Expert,
Get an Answer ASAP!

Homework
This answer was rated:

Write a C++ program that stores the following data about a…

Write a C++ program that...
Write a C++ program that stores the following data about a video game in a structure:
Field Name Description
title string (name of game)
genre enum (type of game)
rank int
time float/double
This program will NOT need an array of structures. Instead, store the data in a file named “games.dat”. Your program will use a single structure variable to read/write a record as needed.
Your program should have a menu that allows the user to perform the
Show More
Show Less
Ask Your Own Homework Question
Answered in 1 minute by:
10/21/2017
LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13,326
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
Verified

Hi

Ask Your Own Homework Question
Customer reply replied 4 months ago

Hi

Welcome

Thank you for asking me. Hope you are doing well.

Zip all files; upload the zipped file to http://wikisend.com and post download link here.

Ask Your Own Homework Question
Customer reply replied 4 months ago

Here's the full version of the problem:

Write a C++ program that stores the following data about a video game in a structure:

Field Name Description
title string (name of game)
genre enum (type of game)
rank int
time float/double

This program will NOT need an array of structures. Instead, store the data in a file named “games.dat”. Your program will use a single structure variable to read/write a record as needed.

Your program should have a menu that allows the user to perform the tasks shown below:

1. Add a game.

2. Print the information for all games, in table form (does not need to be sorted).

3. Calculate and display the total time spent playing all video games.

4. Calculate and print the average rank for all games.

5. Edit the data.

Your program should allow the user to make selections until they choose a 6th option “Exit Program” which will end the program.

Your program should be modular. Use a separate function for each option stated above. Your output should be well-organized, neat, and easy to read.

What is the deadline?

Ask Your Own Homework Question
Customer reply replied 4 months ago

Monday Oct.23rd at 11:59pm

okay. Will have it ready

Ask Your Own Homework Question

Let me know once accepted.

LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13,326
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
Verified
LogicPro and 87 other Homework Specialists are ready to help you
Ask your own question now
Customer reply replied 4 months ago

I accepted

Thanks

Ask Your Own Homework Question

Just posted the answer Link for VideoGameStructure.cpp
Let me know once you get it.

Please consider adding bonus by using the "Write a review or give a bonus" button on your question pages.
http://ww2.justanswer.com/help/what-if-expert-does-really-fantastic-job-hl

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers. It will ensure that question is for me.
Please bookmark my profile page:
http://www.justanswer.com/homework/expert-logicpro/
so you can come back and ask me a question anytime.
Thank you for using this site!

LogicPro

Ask Your Own Homework Question
Customer reply replied 3 months ago

I got the program, but can you put input validation in the program and explain to me how it's suppose to work?

Thanks.

okay.

Ask Your Own Homework Question
Customer reply replied 3 months ago
Hey, how’s the code doing?

Please check back 2 hours

Ask Your Own Homework Question
Customer reply replied 3 months ago
Okay

thank you

Ask Your Own Homework Question

Posted the modified answer link.

Once you run the program, it will display a menu to add, display, edit game, and display total time and average rank. All the records will be saved in file named games.dat. This file will be created when you will add records through the program. Each time the program will start, records will be read from file.

Ask Your Own Homework Question
Customer reply replied 3 months ago
Thanks

welcome

Ask Your Own Homework Question
Customer reply replied 3 months ago

Got errors, it says that atoi and atof were not declared in the scopes in their functions.

please include stdlib.h and try

Ask Your Own Homework Question
Customer reply replied 3 months ago

That was the problem, thanks

This answer is protected
Would you like to ask this question?
If you've already paid for this answer, simply Login.
Ask LogicPro Your Own Question
LogicPro
LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13,326
13,326 Satisfied Customers
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML

LogicPro is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here.

DianeDallas, TX

< Previous | Next >

Meet the Experts:

LogicPro

LogicPro

Engineer

13,326 satisfied customers

Expert in Java C++ C C# VB Javascript Design SQL HTML

Manal Elkhoshkhany

Manal Elkhoshkhany

Tutor

4,551 satisfied customers

More than 5000 online tutoring sessions.

Linda_us

Linda_us

Finance, Accounts & Homework Tutor

3,138 satisfied customers

Post Graduate Diploma in Management (MBA)

Chris M.

Chris M.

M.S.W. Social Work

2,636 satisfied customers

Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

F. Naz

F. Naz

Chartered Accountant

2,161 satisfied customers

Experience with chartered accountancy

Bizhelp

Bizhelp

CPA

1,887 satisfied customers

Bachelors Degree and CPA with Accounting work experience

Seanna

Seanna

Tutor

1,781 satisfied customers

3,000+ satisfied customers, all topics, A+ work

< Previous | Next >

Related Homework Questions
Subtraction Game, Name the file subtraction_game.py.
Subtraction Game, Name the file subtraction_game.py. ***Modify the below example so it meets the following requirements:**The new program shall present random subtraction questions to the player until… read more
LogicPro
LogicPro
Engineer
13,326 satisfied customers
Need help with the following two python based programs: 1) I
Need help with the following two python based programs:1) I need a program that reads four integer values corresponding to an IP address "a1.a2.a3.a4" (IPv4), and determines whether the values form a … read more
Ingo U
Ingo U
Master\u0027s Degree
357 satisfied customers
Turtle ASCII Table. Name file turtle_ascii.py Using Turtle
Turtle ASCII Table. Name file turtle_ascii.pyUsing Turtle graphics:(Display the ASCII character table) Write a program that displays the characters in the ASCII character table from ! to ~. Display te… read more
Ingo U
Ingo U
Master\u0027s Degree
357 satisfied customers
12. If the appellate court requires that issues be presented
12. If the appellate court requires that issues be presented in the form of questions, how should the questions be phrased? A. As briefly and broadly as possible, leaving details for the discussion in… read more
Cher
Cher
JustAnswer Expert & Mentor;Teacher/Tutor
Masters Degree
1,382 satisfied customers
Network Administration (All essay answers need to be
Network Administration (All essay answers need to be double-spaced)1. Create a table the shows six of the common TCP/IP protocols installed on Windows Server 2012/R2. Protocol Name OSI Layer Function2… read more
David L.
David L.
Bachelor\u0027s Degree
6 satisfied customers
Writing/listening comprehension (50point), directions, you
Writing/listening comprehension (50point) , directions, you will hear a story in Spanish. In English, summarize the story in a composition of between ten and twenty sentences, the story is on 4L side … read more
Cher
Cher
JustAnswer Expert & Mentor;Teacher/Tutor
Masters Degree
1,382 satisfied customers
Research Paper Conduct a SWOT analysis and a financial
Research PaperConduct a SWOT analysis and a financial analysis for a telecommunication organization of your choice. Write a 5-8 page long paper and submit it to the Assignments Dropbox by the end of W… read more
GLENN
GLENN
Master of Mathematics
359 satisfied customers
Well I have a Project I need help with, I am new here but
well I have a Project I need help with, I am new here but really struggling with this one … read more
LogicPro
LogicPro
Engineer
13,326 satisfied customers
Describe the main functions of a retail bank. Inputs,
how the information identified is captured by the bank, processed and disseminated… read more
judybailey61
judybailey61
Bachelors degree
196 satisfied customers
Looking to have another program written. i will attached the
Looking to have another program written. i will attached the material. IT is in the perl language and due by this sunday at 3 pm/ Thanks… read more
LogicPro
LogicPro
Engineer
13,326 satisfied customers
1. Which of the following sentences would be the best to
1. Which of the following sentences would be the best to include in a memo to the court? A. "For the reasons stated above, I recommend you rule in favor of the plaintiff." B. "You will be committing a… read more
Chris M.
Chris M.
M.S.W. Social Work
Master's Degree
2,636 satisfied customers
Answer all these question in my pdf please asap! Question 4
Answer all these question in my pdf please asap!Question 4 of 20 : Select the best answer for the question. 4. What is entered into a cell that is typically numeric and can be used for calculations? A… read more
Chris M.
Chris M.
M.S.W. Social Work
Master's Degree
2,636 satisfied customers
Class: Gathering and Using Information in Criminal Justice
Class : Gathering and Using Information in Criminal Justice Due : 2/14/18 11:59pm (standard eastern time)50 questions Multiple Answers… read more
Susan Markel
Susan Markel
4th Grade Teacher
Bachelor\u0027s Degree
1 satisfied customers
Suppose I use Krispy Kremes (K) and loaves of bread (L) to
Suppose I use Krispy Kremes (K) and loaves of bread (L) to create my happiness or utility. I like to eat two Krispy Kreme doughnuts with every three loaves of French bread. What is my demand function … read more
GLENN
GLENN
Master of Mathematics
359 satisfied customers
An O-1 visa holder/ Canadian citizen is filing 1040 for the
An O-1 visa holder/ Canadian citizen is filing 1040 for the first year, 2017. Her husband is a French citizen, no days on US soil in 2017, no US income sources.Husband does not have ITIN.I am filing M… read more
NPVAdvisor
NPVAdvisor
CFP Licensee and Practitioner
Master's Degree
180 satisfied customers
I need help with a case study analysis please. 2.S.. has
hello I need help with a case study analysis please … read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
Uses a spring with spring constant of 25N/m to fire a ball
John uses a spring with spring constant of 25N/m to fire a ball of mass 20g straight upwards. He extends the spring by 50cm. How far will it go?… read more
GLENN
GLENN
Master of Mathematics
359 satisfied customers
Need answers for Penn Electrical Exams 00601601 and 00680500
Need answers for Penn Foster Electrical Exams 00601601 and 00680500Here is 006016011. Which of the following describes the light distribution of a fixture? A. Wall bracket B. Semirecessed C. Direct/in… read more
Shane Jackson
Shane Jackson
2 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x