Question: Needed help with starting program this was instruction given by my teacher. The goal of this project is to enable the student to implement a


Needed help with starting program this was instruction given by my teacher.
The goal of this project is to enable the student to implement a simple C++ program whose code is broken into three source files. At the same time, the student utilizes standard C++ libraries. Write a program that first asks for the number of items to be ID stamped. The program then loops as many times as the number that was input. For each loop pass, the program asks for a description and generates a unique integer to be the identifier of the item. The program then displays a message stating that the unique identifier for the given product it the generated number. Write a C++ class called ID_ stamp that you will save in a file called ID_stamp.h which has the following: Private data members: variable named stamp of type integer variable name desc of type string for product description Public function members: These functions should be declared in the class and defined outside the class. Input data function that has no parameters and returns nothing. The function should display a message prompting for input of a description string. It should then read keyboard input of a string (you may use getline()). Your program then extracts the current time using now() function of chrono. This is passed to the rand() function to generate an integer that will be considered the unique identifier assigned to stamp. Display data function that outputs both the entered string and the stamp to the screen with description and formatting added
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
