954,219 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Error!

can u please xplain' wat this error means:

Linking...
file_name.obj : error LNK2001: unresolved external symbol "int * resultarray" (?resultarray@@3PAHA)
Debug/file_name.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

RITZY_G
Newbie Poster
10 posts since Jul 2004
Reputation Points: 10
Solved Threads: 0
 

That means the compiler could not find the object "resultarray" which was declared as an extern.Extern says to the compiler that a variable has been declared somewhere else but in this case the compiler could not find it.

FireNet
Posting Whiz in Training
258 posts since May 2004
Reputation Points: 108
Solved Threads: 7
 

>can u please xplain' wat this error means:

Quite often you get this when you prototype a function, but never define it.

Dave Sinkula
long time no c
Team Colleague
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You