How to make your own library in C++ ?

i want to use my own functions in my own library which can be included in other programs,how do u make a library e.g mylibrary.h in c++?
5 answers 5