Z
ZF Tang
As you know,if I include "cstdio, cstdlib,...", instead "stdio.h,
stdlib.h,...",
their content will be declared in the std namespace.
But the following code is compiled successfully even though "using namespace
std" is commented out, why?
#include <cstdio>
using namespace std;
void main()
{
printf("Hello, world!\n");
}
stdlib.h,...",
their content will be declared in the std namespace.
But the following code is compiled successfully even though "using namespace
std" is commented out, why?
#include <cstdio>
using namespace std;
void main()
{
printf("Hello, world!\n");
}