i am programming in Microsoft Visual c++ 6.0 and I have two linking
errors that I do not know what they mean. Can someone please help.

Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/Programming Project 1.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

It means you're using the wrong project type. You created a Win32 application (which requires WinMain instead of main) and then treated it as if it were a console application (by using main instead of WinMain).

just replace your int main(void) function with :

int WINAPI WinMain(

    HINSTANCE hInstance,	
    HINSTANCE hPrevInstance,	
    LPSTR lpCmdLine,	
    int nCmdShow 	
   )

just replace your int main(void) function with :

int WINAPI WinMain(

    HINSTANCE hInstance,	
    HINSTANCE hPrevInstance,	
    LPSTR lpCmdLine,	
    int nCmdShow 	
   )

Brilliant! Destroy portability because you're too lazy to delete the project and try again. Since it's not obvious whether the OP wants portable C++ or Win32 C++, a better suggestion would be to create a new project that doesn't expect platform specific code to compile.

Be a part of the DaniWeb community

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