473,396 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

an error i coudnt understand

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)

Sep 26 '05 #1
6 1295
berkay wrote:
--------------------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
Sep 26 '05 #2
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

Sep 26 '05 #3
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

Sep 26 '05 #4
yes i selected the empty project but how ll i add the source file

Sep 26 '05 #5
yes i selected the empty space but couldnt add the source file

Sep 26 '05 #6
yes i selected the empty project but how ll i add the source file

Sep 26 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: DataBard007 | last post by:
Hello Access Gurus: I use Win98SE and Access97. I just built a simple Access97 application which holds all contact information for my personal contacts, such as first name, last name, address,...
25
by: moondaddy | last post by:
I have an application where users need to upload images and in my web.config file I have a setting like this: <httpRuntime maxRequestLength="512" /> Which restricts image larger than 500k from...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
9
by: Karthikeyan.T.S | last post by:
Hi, I am getting a error when I try to start a Windows Service. The error is "The XYZ service on local computer started and then stopped.Some services stop automatically if they have no work to...
18
by: robert | last post by:
Is there a ready made function in numpy/scipy to compute the correlation y=mx+o of an X and Y fast: m, m-err, o, o-err, r-coef,r-coef-err ? Or a formula to to compute the 3 error ranges? ...
35
by: jeffc226 | last post by:
I'm interested in an idiom for handling errors in functions without using traditional nested ifs, because I think that can be very awkward and difficult to maintain, when the number of error checks...
8
by: ajos | last post by:
hi frnds, the situation is im developing a web application in struts-- my specifications-eclipse3.2.2,struts1.1,tomcat5.5.23 mysql5.0 db. the scenario-i have a jsp page which adds the...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.