More specifically it won't compile. I'm getting a few errors that read similar to this one:
error LNK2019: unresolved external symbol "public: double __thiscall TDP::CalCost(void)const " (?CalCost@TDP@@QBENXZ) referenced in function _main
Any idea on what I need to do?
Last edited on
It means you haven't defined the function in your TDP class called CalCost(). Your overrode the one in the base but you didn't define it.
So what should I add to fix it and where?