Need help with Class problem

hi, i am VERY new to c++ and need help with this problem.. it is in the "starting out with c++" textbook 8th edition. here is the problem. I need to have a .h file and two .cpp files for this assignment. PLEASE HELP!

write a class named retail item that holds data about an item in a retail store. the class should have the following member variables
-description. A string that holds a brief description
-unitsOnHand. An int that holds the number of units currently in inventory
-price. a double that holds the items retail price.

write a constructor that accepts arguemnts for each member variable, appropriate mutator functions that store values in these member variables, and accessor functions that return the values in these member variables. once you have written the class, write them in a seperate program that creates three RetailItem objects and store the following data in them
You're going to have to write the code yourself.

Are you confused as to any particular part?
Topic archived. No new replies allowed.