Archived

This topic is now archived and is closed to further replies.

Guest Anonymous Poster

error compiling c++ code

This topic is 6567 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Change the kind of workspace into a win32 one.

------------------
Dance with me......

http://members.xoom.com/CJdeVos/index.htm

Share this post


Link to post
Share on other sites
Make sure the target platform is Win32 GUI, not console, this can be changed on the Target Expert or when you create a new project. In case you don't know how to get to the Target Expert, right click on the source code window and it'll be on the popup menu. Hope this helps =)

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Thanks alot, it was the GUI part that was wrong. Merry Christmas!

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
hey, i'll bet this question's been asked before, but when i try to compile some windows code, even the example code, using borland c++ 5.02 it gives this error:
unresolved external '_main' referenced from C:\BC5\LIB\COX32.OBJ
what setting can i change to fix this?
thanks

Share this post


Link to post
Share on other sites