Posted by William D McQuain on November 13, 2001 at 10:07:26:
In Reply to: Wierd Error posted by student on November 12, 2001 at 22:16:03:
These error messages are from the linker (LNK indicates that). Usually you get linker errors when there's a mismatch between the prototype for a function and the definition for the function. Check the return type and the parameter list. They must be exactly the same.
: Anyone have any idea what this means:
: project7.obj : error LNK2001: unresolved external symbol "void __cdecl InputArrays(class std::basic_string :
: allocator
: its@D@std@@V?$allocator@D@2@@std@@00QAHAAV?$basic_ifstream@DU?$char_traits@D@std@@@2@@Z)
: project7.obj : error LNK2001: unresolved external symbol "void __cdecl InitializeArrays(class std::basic_string
: std::allocator
: Debug/project7.exe : fatal error LNK1120: 2 unresolved externals
: Error executing link.exe.
: That is 3 errors. It may have something to do with my ifstream and ofstream variables becuase my program was working until i tryed to implement them but im not positive.
: Thanks for any help.