MSVC++ 6 build error

This is a discussion on MSVC++ 6 build error within the C++ Programming forums, part of the General Programming Boards category; Anyone know why this error occurs???? Code: Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/txt_map1.exe : fatal error ...

  1. #1
    WDT
    WDT is offline
    Tha 1 Sick RAT
    Join Date
    Dec 2003
    Posts
    271

    Question MSVC++ 6 build error

    Anyone know why this error occurs????

    Code:
    Linking...
    LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
    Debug/txt_map1.exe : fatal error LNK1120: 1 unresolved externals
    Error executing link.exe.
    The proper header files have been included in the code. I am just....

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    Are you compiling a Win32 application as a console application?
    My best code is written with the delete key.

  3. #3
    WDT
    WDT is offline
    Tha 1 Sick RAT
    Join Date
    Dec 2003
    Posts
    271
    Errr... Woops.... You see the problem was....... Gimme a break I'm new to this.

    Thanx for the help

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Testing some code, lots of errors...
    By Sparrowhawk in forum C Programming
    Replies: 48
    Last Post: 12-15-2008, 03:09 AM
  2. Crazy errors caused by class, never seen before..
    By Shamino in forum C++ Programming
    Replies: 2
    Last Post: 06-10-2007, 11:54 AM
  3. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 08:39 AM
  4. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 10:03 AM
  5. Boom, Headoshot!!
    By mrafcho001 in forum A Brief History of Cprogramming.com
    Replies: 50
    Last Post: 07-21-2005, 08:28 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21