Random1.h

Discuss any book you want here

Random1.h

Postby kanghui.lim » Sun Apr 18, 2010 7:03 am

Hi, I am using Borland 5.5 which I downloaded from Embarcadero Developer Network for free. When I execute Random1.h, which is stored in C:\BORLAND\BCC55\INCLUDE, I get this error message: Unresolved external '_main' referenced from C:\BORLAND\BCC55\LIB\COX32.OBJ.
kanghui.lim
 
Posts: 1
Joined: Sun Apr 18, 2010 6:27 am

Re: Random1.h

Postby mj » Sun Apr 18, 2010 7:16 am

this generally means that you haven't included a file in the project with a main function.

Random1.h is just a header file, you need some cpp files. Make sure to have at least one file with main in the name if using code from the book.

NB i'd recommend using the free visual studio express 2010 or 2008 over borland.
mj
Site Admin
 
Posts: 792
Joined: Fri Jul 27, 2007 7:21 am


Return to Other books

Who is online

Users browsing this forum: No registered users and 1 guest

cron