If you don't want to write namespace name and :: you can use directive using namespace and then namespace name. It will allow you to use defined functions/variables/etc without writing that :: stuff.
or you can specify what namespace and function/variable/etc you are using using using and then function/variable/etc name after.
namespace test{ void print(const char* message){ std::cout << message << std::endl; } void log(const char* message){ std::cout << "LOG: " << message << std::endl; }}using test::print; print("lalala") // you can use this without test::log("lalala") // you cant use this without test::