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 ??
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 ??
Comment