February 11th, 2003, 10:45 PM
Stargazer, no offense, but I would hate to mop up code after you. What M.Hirsch & Scorpions4ever has told you holds true for the entire industry. How can everyone else be wrong except for you?
I don't know of a teacher who would accept that and I definately don't know of a project team leader that would accept that either.
February 12th, 2003, 02:04 AM
you can make a library of a the .o file that the compiler made out of your .cpp file + the .h to access its functions. nothing needs to be done to the files to re-use them in another project. for more complex libraries, on unix you would pack them into a kind of archive, iirc with "ar".
No idea about windows though. MSVC++ offers a "DLL" project for that...