C++ 的第一个代码,我来到了C++的世界。看来我有点不知好歹。。
程序代码:#include < iostream >
#include < stdio.h >
using namespace std;
int main ( )
{
cout << "welcome to C++!\n";
system ( "pause" );
return 0;
}问下为什么要用 using namespace std;
程序代码:#include < iostream >
#include < stdio.h >
using namespace std;
int main ( )
{
cout << "welcome to C++!\n";
system ( "pause" );
return 0;
}问下为什么要用 using namespace std;
2011-10-28 00:33
2011-10-28 00:39