console aplication error dev c++ winmain@16

This is a discussion on console aplication error dev c++ winmain@16 within the C Programming forums, part of the General Programming Boards category; undefined reference to `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
    CSharpener vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,424
    Quote Originally Posted by caldeira View Post
    undefined reference to `WinMain@16' ???
    it means you have window application not console - change your project type
    The first 90% of a project takes 90% of the time,
    the last 10% takes the other 90% of the time.

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, 08: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, 01:02 PM
  4. Console Functions Help
    By Artist_of_dream in forum C++ Programming
    Replies: 9
    Last Post: 12-04-2004, 02:44 AM
  5. Just one Question?
    By Irish-Slasher in forum C++ Programming
    Replies: 6
    Last Post: 02-12-2002, 09:19 AM

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