Hmm well that kinda works but to me the library is only the method calls and basic funtions. Such as cin or cout it does everything to make those workable behind the scenes. You described it as a truck and the class you are creating as box in the truck. But you are not creating a class inside a library you are using the library to create your class.