Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

undefined symbol _main in module winmain

Posted on 1999-01-14
2
Medium Priority
?
709 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 300 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

773 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