the following program DOES NOT get errors. It compiles and runs, however
I am having the following problems:
1. i don't know how to access private data members...so I left everything public
2. i didn't include a constructor (why?) not sure don't really know how - i am still initializing in main.
After I delete a seat when i go to print Nemptyseats or Printseat functions the numbered list is messed up...
also after I asssigned more than 3 seats the listing of the seats is messed up as well...the names are alphabetized fine but the seats go the same as the delete prob:
for example: I assign seats 1 2and 3 then delete seat 2. when i print out my listing it will say "vacant Seat Numbers"; 3,2,5,6,7,8,9,10,11,12
the deleted seat is getting thown into places it shouldn't...(the SAME number of seats ahead as the seat number deleted). I'm trouble shooting the best I can, but am kinda stumped. here is the latest version of the code...
4 lastly...i'm not sure i shouldn't have private data members...
opinions on this for the new girl to the "Class"?
thank you all so much!