Ask Your Question
2

What does the "undefined reference to `Employee::getCount()" error in my function mean?

asked 2023-05-01 03:17:59 +0000

woof gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-05-01 03:38:01 +0000

devzero gravatar image

The "undefined reference to Employee::getCount()" error means that the compiler could not find the definition of the functiongetCount()in theEmployee` 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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-01 03:17:59 +0000

Seen: 13 times

Last updated: May 01 '23