Jimmyt1988
Jimmyt1988

Reputation: 21146

What are the ? and @ signs demonstrating in this compiler error? - Visual Studio 2013 Compiler

Take the following error:

Error   2   error LNK1120: 1 unresolved externals   c:\users\james\documents\visual studio 2013\Projects\PlatformGameEngine\Debug\PlatformGameEngine.exe    1   1   PlatformGameEngine
Error   1   error LNK2001: unresolved external symbol "public: virtual void __thiscall PlatformGameEngine::IOS::CreateWindow(class PlatformGameEngine::WindowProperties)" (?CreateWindow@IOS@PlatformGameEngine@@UAEXVWindowProperties@2@@Z)    c:\Users\James\documents\visual studio 2013\Projects\PlatformGameEngine\PlatformGameEngine\App.obj  PlatformGameEngine

What are the ? and @ signs demonstrating in this compiler error?

Upvotes: 2

Views: 66

Answers (1)

Lightness Races in Orbit
Lightness Races in Orbit

Reputation: 385224

That is the internal, or "mangled", name for your function. It is written in an unambiguous language that your computer uses to uniquely identify the function within your program, and across any libraries that may be linked in at build-time or at run-time.

Upvotes: 2

Related Questions