1 | initial version |
The "undefined reference to Employee::getCount()" error means that the compiler could not find the definition of the function
getCount()in the
Employee` class. This could be due to a missing or incorrect declaration of the function, or not including the necessary source file that contains the definition of the function when compiling.