Solved

undefined symbol _main in module winmain

Posted on 1999-01-14
2
659 Views
Last Modified: 2008-02-26
Hi I am new to c++ and I really want to learn this language
But I have 1 big problem so I was hoping that
someone could help me out. With almost every program
that I try to "link" I get the error:

undefined symbol _main in module winmain
I also alway's get a warning called:
No module definition file specified: Using defaults.
I dont know if these 2 things aer related but it
would be great if someone could help me or point
me in the right direction.
It does not mather what program I alway's get this error.
Please help because borland 3.11 wont compile my program's
because of that 1 single error.
Bye,

Rikus
0
Comment
Question by:Rikus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 2

Accepted Solution

by:
ginde earned 100 total points
ID: 1255859
It looks like you are Project type is Windows and not Console Application. I would think that you are using Visual C++ compiler. But please veify your Compiler and version.
0
 
LVL 2

Expert Comment

by:ginde
ID: 1255860
I am sorry. Please reject my answer. I didn't read that you are using Borland compiler. I just read top portion of the problem.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
stack 22 174
mixing C++ and C code elegantly 10 159
IIS Log files on Exchange 2013 server 6 238
What's wrong with the delete function in this program for queue using array? 8 45
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question