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