Feb 7, 2012 at 12:42pm UTC
Please guide me about these errors , I will be greatful.
Lab02_060.obj : error LNK2001: unresolved external symbol "void __cdecl enterdata(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator
<char> >,double)" (?enterdata@@YAXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0N@Z)
Debug/Lab02_060.exe : fatal error LNK1120: 1 unresolved externals
Regards ,
Ahmad Shoaib
Feb 7, 2012 at 12:56pm UTC
The linker cannot find the function enterdata .
This means you have either not written it (which includes getting the parameters wrong when you try to call it), or not compiled it, or not told the linker to link against the compiled code.
Last edited on Feb 7, 2012 at 12:57pm UTC