Re: Wierd Error


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]

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,class std::allocator > * const,class std::basic_string,class std::
: allocator > * const,class std::basic_string,class std::allocator > * const,int * const,class std::basic_ifstream > &)" (?InputArrays@@YAXQAV?$basic_string@DU?$char_tra
: 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,class std::allocator > * const,class std::basic_string,class
: std::allocator > * const,class std::basic_string,class std::allocator > * const,int * const)" (?InitializeArrays@@YAXQAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00QAH@Z)
: 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.




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]