Please Help Me With a Problem!

closed account (GvDyb7Xj)
My professor gave us a practice problem for our final and said that if we could answer it, we could answer the question on the final. I cant wrap my head around it however. I don't even know where to start really. I'd appreciate it if any of you on the forums could help me out. I realize i'm basically asking you to do it for me, but i don't think i have any other way. I appreciate it.

Here it is:

Part 1:

Create a class called Pet (or something similar). Pet should have (variables) a pet type (dog, cat, etc.), a name, sex, a breed, age, and an owner name. You should include get and set functions for each of these variables. Include a default constructor. NOTE: you will not need any other constructors. Save the class definition and any associated functions as a separate header file.

Part 2:

Create a menu driven application to demonstrate your Pet Store. You should have options for displaying all existing pets, adding pets, searching for pets based on some or all of the variables, and exit. Use appropriate functions for each of the menu choices (other than exit) and use input validation. Make sure you include the header file you created in Part 1!

Part 3:

Your program should save your pets to a file and read them in at the start of program execution. Submit a file with at least 10 pets already created.

EDIT: no longer need help, already done. i'll thank anyone who sees this and actually thinks to help. but im disappointed that the fist comment i got was pretty rude. probably won't post here again. Cheers
Last edited on
Well, if you can't
Create a class called Pet
there is no hope for you and you're wasting your time. Can you create a class called Pet? Show us.
Last edited on
closed account (GvDyb7Xj)
i actually finished a good few hours ago, i was gonna delete the thread but i was hoping to compare if anyone posted. but thanks for your useless reply, really helpful.
Well, at least now you know that this forum isn't the forum you're looking for and you'll never come back. Everybody wins.
Topic archived. No new replies allowed.