Is it possible to save a namespace as a library, and use it without having to rewrite the code? Like namespace std? I made a namespace called, "Namespace blackjack" and then made a bunch of functions and stuff, but I want to know if I can save it as a library/directory so that I can just call functions from it without re-defining the functions.
Then you'd just distribute the header along with the object file. If you have multiple object files, you'd want to create a library for them - how you do that depends on the linker you are using. You can then use everything declared in header.h if you include it, and link your object file.