Hi I have never used vedctors before so I am just wondering if this is correct or not.
If not, would you mind showing me the correct way to use it?
cout << fixed << setprecision( 2 );
vector < Employee * > employees( 4 );
employees[ 0 ] = new Manager(
"Jack", "Jackson", "123", 800 );
employees[ 1 ] = new EntryLevelEmployee(
"Adrian", "Kiefer", "234", 16.75, 40 );
employees[ 2 ] = new SalesRep(
"Crystal", "Jones", "456", 10000, .06 );
employees[ 3 ] = new SalesManager(
"Robert", "Robertson", "678", 5000, .04, 300 );