I compile in Visual studio 2008 and get this error. I have researched linkage error but am still uncertain to what it is. This is the finished code to a poker game so I would rather not post the code. Can someone translate this error message for me?
error LNK2019: unresolved external symbol “
void __cdecl betFold(double)” (?betFold@@YAXN@Z) referenced in function “void __cdecl flopAction(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)” (?flopAction@@YAXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) OH-DLL.obj
Your function
void flopAction(std::string arg)uses a functionbetFold(double)that gets referenced and declared in some header, but is not implemented so that the linker is able to find it.