If we use
using namespace std
in our source file, in which step is the definition of namespace imported to our source file?
If we use
using namespace std
in our source file, in which step is the definition of namespace imported to our source file?
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