现在的位置: 首页 > 综合 > 正文

using namespace std; C++中是什么意思?

2014年01月02日 ⁄ 综合 ⁄ 共 269字 ⁄ 字号 评论关闭

#include <iostream.h>

等同于:

#include <iostream>

using namespace std;

具体点:

std::cout , std::endl; (在没有.h 或者 using namespace std 情况下)

cout , endl (在有.h 或者 using namespace std)

 

出自:

using namespace std; C++中是什么意思?

悬赏分:0 - 解决时间:2007-8-30 06:26
提问者: 518442329 - 经理 四级

http://zhidao.baidu.com/question/33997106.html

 

抱歉!评论已关闭.