c++ cusrom namespaces code example
Example 1: c++ custom namespace
//using namespaces
using namespace std;
//creating namespaces
namespace custom{
class example{
public:
static int method(){
return 0;
}
};
};
//using custom namespaces
using namespace custom;
Example 2: namespace c++
Namespace std::cout or cout <<