Library functions

How do I determine what functions are in a particular library and how to use them?

That fully depends on the library. Good libraries come with good documentation and examples you can look at.

Bad libraries only have code... Then you'll have to open the .h and .cpp of the libraries and start digging.