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.

Recommended Answers

All 2 Replies

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.

>can u please xplain' wat this error means:

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.