Linker error LNK2001

前端 未结 4 1106
遇见更好的自我
遇见更好的自我 2020-12-10 16:34

When I try to create an object I get a LNK2001 error in Visual Studio, it\'s a problem with the constructor I think since changing the constructor changes the error.

4条回答
  •  隐瞒了意图╮
    2020-12-10 17:01

    What's there looks OK to me. Check other things, like make sure your namespaces are right, or there's not another/conflicting "Customer" definition, etc. Try commenting out large sections of code or reducing your code to a small test case.

提交回复
热议问题