Question on my code.

I'm running into some issues with this code and not sure where to turn next to fix it. Can anyone help?

Here is my code:
http://pastebin.com/11fDGyw7
What issues do you have?
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?
Topic archived. No new replies allowed.