locked
EROR RRS feed

  • Question

  • What means error LNK2019: unresolved external symbol @ 16 referenced in function _WinMain _tmainCRTStartup and error LNK112: unresolved external one? 
    Any program in C # I write, I do these two errors and can not understand why..I am sure that programs are corectly..

    I using Visual Studio 2012 on Windows 7. Please help me..I have an exam to pass..

    Saturday, March 29, 2014 7:24 PM

Answers

  • What happens when you create a C# console project and use the code below?

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    
    namespace ConsoleApplication3
    {
        class Program
        {
            static void Main(string[] args)
            {
                Console.WriteLine("Hello world!");
            }
        }
    }

    Can you build and run this program?

    If so, please provide more details about the project that is failing.

    If not, please repair your VS installation.

    Sunday, March 30, 2014 3:52 PM