Thread: console aplication error dev c++ winmain@16

  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    15

    Unhappy console aplication error dev c++ winmain@16

    undefined reference to `WinMain@16' ???

  2. #2
    Registered User
    Join Date
    Sep 2008
    Posts
    15
    my code is in a console application of dev c++ compiling with gcc.
    its a c code program in my notebook with de win XP edition, why did i get this error?

  3. #3
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,794
    Quote Originally Posted by caldeira View Post
    undefined reference to `WinMain@16' ???
    it means you have window application not console - change your project type
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    David J. Wheeler

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Console, Terminal and Terminal Emulator
    By lehe in forum C Programming
    Replies: 4
    Last Post: 02-15-2009, 09:59 PM
  2. Full Screen Console
    By St0rmTroop3er in forum C++ Programming
    Replies: 1
    Last Post: 09-26-2005, 09:59 PM
  3. Problems with a simple console game
    By DZeek in forum C++ Programming
    Replies: 9
    Last Post: 03-06-2005, 02:02 PM
  4. Console Functions Help
    By Artist_of_dream in forum C++ Programming
    Replies: 9
    Last Post: 12-04-2004, 03:44 AM
  5. Just one Question?
    By Irish-Slasher in forum C++ Programming
    Replies: 6
    Last Post: 02-12-2002, 10:19 AM