Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unresolved external - Urgent help needed!!

Status
Not open for further replies.

COTLG

Technical User
Apr 15, 2003
107
US
Please can someone help with this error:

Program1A.obj : error LNK2019: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,struct ErrorType const &)" (??6@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AAV01@ABUErrorType@@@Z) referenced in function "void __cdecl TestRelationalOperators(class std::basic_ostream<char,struct std::char_traits<char> > &,struct ErrorType const &,struct ErrorType const &)" (?TestRelationalOperators@@YAXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@ABUErrorType@@1@Z)
Debug\Program1A.exe : fatal error LNK1120: 1 unresolved externals

I can paste all my program if needed.

Thanks.
Chike.
 
It cannot find the definition of the operator<< for the ErrorType struct. Have you defined that function?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top