When i pressed build and it gave me this error error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup fatal error LNK1120: 1 unresolved externals this is my code #include using std::cout; using std::endl; int main() { cout << "Hello" << endl; return 0; }
C
changuyen
@changuyen
Posts
-
Problems building a general program using C++ .NET -
Problems building a general program using C++ .NETI just tried to build a simple program like Hello.cpp by using Visual C++. NET but I got errors for Linking problem. Anyone has any idea how to set it up correctly?