an error i coudnt understand

B

berkay

hi all,am trying to learn how to use the graphics library,i downloaded
the header file and the program from this site:
http://rabbit.eng.miami.edu/class/library/oldindex.html

and am using VC++ 6.0 i have such an error,i ll be happy if you help
me,thanks




--------------------Configuration: graphics - Win32
Debug--------------------
Linking...
graphics.obj : error LNK2001: unresolved external symbol _main
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/graphics.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

graphics.exe - 3 error(s), 0 warning(s)
 
V

Victor Bazarov

berkay said:
--------------------Configuration: graphics - Win32
Debug--------------------
Linking...
graphics.obj : error LNK2001: unresolved external symbol _main
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/graphics.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

Does your program have the 'main' function? Every Standard C++ program
must have a 'main' function, where the execution starts. If you are
creating a platform-specific program with a different method of entering
your program, ask in a newsgroup for your platform (Win32) or for your
compiler.

V
 
L

lucifer

this prog is a win32 prog so create an win32 app and in next step
select empty project and then add the source file
remember to keep the header file in same directory
 
L

lucifer

this prog is a win32 prog so create an win32 app and in next step
select empty project and then add the source file
remember to keep the header file in same directory
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top