Question: CIS 2 0 0 - Lab 2 Question 1 : Write a complete program that uses the Computer class you created and tests its functionality:
CIS Lab
Question :
Write a complete program that uses the Computer class you created and tests its functionality:
a Declare a single Computer object named base. Call the printConfig to show the values.
b Declare a single Computer object called mysystem and during declaration initialize it to: A "inteli Call the printConfig method of the object created and display to the screenconsole
c Declare a vector called "inventory" of class Computer.
d Ask the user to input the information for new system configurations. All information can be entered on the same line and strings should NOT have a space. ie Enter System Info: A ANDR
e The information is to be stored in the vector when entered.
f Create and empty a data file "LabInventory dat" and write to it using the value returned by printConfig for every item in your vector.
g Explicitly close the output file.
h Provide code, screen shots, and the output of your data file.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
