C++ undefined reference to … and also warning: deprecated conversion from string constant to ‘char*’ [closed]

To call new Employee[count] you need an Employee default constructor (Employee::Employee()).

Employee::Employee(SymbolStr sstr, int* egn, int* cd) isn’t a default constructor.

Leave a Comment