You seem to be very fond of using floating point variables...
I know this won't actually solve the "real" problem, but surely an employee id is not a double? If they are, who is employe id 3.1415926...?
Are you planning on having options 1.2, 1.3, 1.8 and 2.5 as well? Otherwise either an integer or a char will do fine here (int will be less changes to the code below).
double a, b,d,e,f,g;
cout<<"1. Add an employee"<<endl;
cout<<"2. Modify employee data"<<endl;
cout<<"3. Delete an employee"<<endl;
cout<<"4. Exit this menu"<<endl;
What syntax? Syntax for what?
Originally Posted by john5754
I still don't know what to do. How should I change my code to to make it work?
Write out your Employee class, keep it simple.
Write the program that you were supposed to test it with as homework.
Then write the other menu driven program. If it were me in your shoes, I would just shove Employee into a std::vector (look it up on the internet) and get the options working.
I really don't know where a multidimensional array fits in, sorry. You'll have to ask your professor about it. I'm assuming that the multidimensional array is optional as a suggestion, and not something your professor wants you to do.
I'm still lost I dont know what to type
What does your latest code look like?
Its still the same thing on page 1