troubleshooting Question

error LNK2001: unresolved external symbol "void __cdecl test5(int)

Avatar of farrellzzs
farrellzzs asked on
Programming Languages-OtherC++
9 Comments1 Solution2450 ViewsLast Modified:
hi there,
Im using the "newran c++ liabrary" which can be download online at http://www.robertnz.net/nr02doc.htm. Its ok when i compile it but when i try to build it, i got the follow errors:

--------------------Configuration: tryrand - Win32 Debug--------------------
Linking...
tryrand.obj : error LNK2001: unresolved external symbol "void __cdecl test5(int)" (?test5@@YAXH@Z)
tryrand.obj : error LNK2001: unresolved external symbol "void __cdecl test4(int)" (?test4@@YAXH@Z)
tryrand.obj : error LNK2001: unresolved external symbol "void __cdecl test3(int)" (?test3@@YAXH@Z)
tryrand.obj : error LNK2001: unresolved external symbol "void __cdecl test2(int)" (?test2@@YAXH@Z)
tryrand.obj : error LNK2001: unresolved external symbol "void __cdecl test1(int)" (?test1@@YAXH@Z)
tryrand.obj : error LNK2001: unresolved external symbol "public: static void __cdecl Random::Set(double)" (?Set@Random@@SAXN@Z)
Debug/tryrand.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.

tryrand.exe - 7 error(s), 0 warning(s)


can anyone helps me out there?Im using vc++ and Im still learning this language, so plz make ur comment easy for me  to understand , many thanks.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros