I prepared a program with 5 files, with f1.cc f2.cc f3.cc and f4.cc with
there header files h1.h h2.h h3.h and h4.h such that h1 is included in h2,
h2 included in h3 and so on. f1, f2 .... having function for h1, h2
respectively. fmain.cc is main program including h4.h only. I was able to
run this program using Turbo C using project feature and also on SCO Unix
C++ by issuing command:
CC fmain.cc f1.cc f2.cc f3.cc f4.cc.
The similar approach did not successed when I tried on gcc by issue of
command as
gcc fmain.cc f1.cc f2.cc f3.cc f4.cc
Pl. let me know that is it possible to do in gcc if yes I would like to
know way/ procedure.
Sourangshu Bhattacharya
B.E. 4th year, Civil Engg.,
University of Roorkee.
--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/help/faq_list.html