Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C > linking problem
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 25918 of 27272
Post > Topic >>

linking problem

by vaib <vaibhavpanghal@[EMAIL PROTECTED] > Apr 27, 2008 at 03:48 AM

hi all ,
i am facing a funny problem in C . i am using turbo's compiler - the
16 bit compiler for dos . i made a file maximum.h which contains a
function declaration , and includes files such as stdio.h . i then
made a maximum.c which contains    the definition of the function
declared in maximum.h . maximum.c also includes maximum.h . then i
made a main.c which includes maximum.h and calls the function declared
in maximum.h . all the 3 files compile well but when i run main.c , it
gives me a linker error that it cannot find the function's obj . i've
tried everything . i put all in bin n compiled . i put all under one
folder n compile but nothing seems to work . how do i make the linker
aware of my maximum.obj ??
 




 7 Posts in Topic:
linking problem
vaib <vaibhavpanghal@[  2008-04-27 03:48:40 
Re: linking problem
Antoninus Twink <nospa  2008-04-27 13:00:20 
Re: linking problem
Noob <root@[EMAIL PROT  2008-04-28 16:46:28 
Re: linking problem
santosh <santosh.k83@[  2008-04-27 17:48:36 
Re: linking problem
vaib <vaibhavpanghal@[  2008-05-01 10:02:10 
Re: linking problem
santosh <santosh.k83@[  2008-05-02 00:07:27 
Re: linking problem
Flash Gordon <spam@[EM  2008-05-01 20:07:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Aug 27 17:45:00 CDT 2008.