Making and Transferring c++ Libraries

Can anyone explain how to make a c++ library of functions (i.e. my library.h) and then transfer it to another computer via a usb drive or some memory device like that?

Thanks
Write your functions. Compile them into a library (ensure your compiler knows you're making a libray, or it will complain about no main). Copy that library and the associated header file to the other PC.

On the other PC, to use those functions, include the header file so it compiles, and tell the linker to link against the compiled library file.
Topic archived. No new replies allowed.