The definition of the namespace is imported when you write:
#include <iostream>
or
#include <stdio.h>
by writing using namespace std you don’t import the namespace, you allow using its entities without std prefix, like cout instead of std::cout
solved About using namespace std in C++ [closed]