namespace c++ example
Example 1: using namespace std in c++
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World";
system("pause");
return 0;
}
Example 2: namespace c++
Namespace std::cout or cout <<
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World";
system("pause");
return 0;
}
Namespace std::cout or cout <<