Recently I started working with c++ and I was wondering.
If I'm working on DLL, I first define all the classes and and their functions in the header and then write their functionality in
You have to define your classes(structs, etc) and declare your namespace(s) and functions in your header. That being said, you can use
using namespace <your_library_namespace>;
And then everything in your source file in
<your_library_namespace> won't need to use
<your_library_namespace>:: before everything.