Solved

undefined symbol _main in module winmain

Posted on 1999-01-14
2
654 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
  • 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
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…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

776 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