This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

need to link 3 files...how?


i have 3 files named:
main.cpp
person.cpp
person.h

i've #included person.h in my main.cpp.
how do i compile this to run. i know i have to link them together but i dont
know how to do that. someone told me i would have to use "make". i read the
mn pages on this but it really didnt help me out with understanding make.
can anyone help?

thanks in advance



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]