Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in Visual C++, Assignment learning objectives: You are supposed to correctly define and write neat code that uses classes, functions, dynamic arrays, constructors, destructors and

in Visual C++,

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

Assignment learning objectives: You are supposed to correctly define and write neat code that uses classes, functions, dynamic arrays, constructors, destructors and overloaded operators. The assignment problem: You have just started your new on-campus job at the front desk of the Swinney recreation center. Your job is to help students check-out and check-in gym items (towels, basket balls, rackets, bikes, etc). Traditionally, students who work this job record all items that students check out and in manually in two text files (checked out and checked in). At the end of the day, they update a third file (students.txt) that includes information about students and what items are currently checked out (if any). However, you believe that this process is tedious, time consuming and error prone. Therefore, you are thinking to automate this process by writing a C++ program that does all the work for you: because you are a great programmer who took 201L, and you can do it! See the following figure to better understand your program input and output. Items being checked out Log of students and checked out items Updated log of students and checked out itoms Output Your app Item being checked in Figurel. Overview of the assignment's input and output data files know that not all students hit the gym frequently and, therefore, you realize that not all students check items all the time. At the same time, some students check several items simultaneously (e.g. towel, locker is means that you are not sure on how much memory to allocate for this data. Thus, you will gym and a basketball). Th write a Sudent class that has a dynamic array to hold the items that each Student has checked-out

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

a) Suppose that a Answered: 1 week ago

Answered: 1 week ago

Question

7 Describe the role of an HR business partner

Answered: 1 week ago

Question

5 Explain the concept of the psychological contract.

Answered: 1 week ago