[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 715
  • Last Modified:

undefined symbol _main in module winmain

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
Rikus
Asked:
Rikus
  • 2
1 Solution
 
gindeCommented:
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
 
gindeCommented:
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

Live webcast with Pinal Dave

Pinal Dave will teach you tricks to help identify the real root cause of database problems rather than red herrings. Attendees will learn scripts that they can use in their environment to immediately figure out their performance Blame Shifters and fix them quickly.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now