Re: Unresolved external '_main' referenced from C:\BC5\LIB\C0X32.OBJ


2003-07-25 10:37:17 PM
cppbuilder106
thats Great man
whats wrong if u did n't enable that option ("Generate underscores")
"Wayne A. King" < XXXX@XXXXX.COM >wrote in message
Quote
On Thu, 24 Jul 2003 10:14:53 +0530, "Vijay" < XXXX@XXXXX.COM >wrote:

>int main(void)
>{
>return 0;
>}
>when i build this i am getting Unresolved external '_main' referenced
from
>C:\BC5\LIB\C0X32.OBJ error

Check the Project Options, Compiler Output.
Make sure you have the option to "Generate underscores"
enabled/checked.

--
Wayne A. King
( XXXX@XXXXX.COM , XXXX@XXXXX.COM ,
XXXX@XXXXX.COM , XXXX@XXXXX.COM )