为了账号安全,请及时绑定邮箱和手机立即绑定

麻烦看看这个问题,请问在C语言中 using 这个函数表示什么意思?

麻烦看看这个问题,请问在C语言中 using 这个函数表示什么意思?

小唯快跑啊 2021-07-25 10:07:05
using 一般感觉都用得比较少。但是不知道其意思和作用是什么?
查看完整描述

2 回答

?
紫衣仙女

TA贡献1839条经验 获得超15个赞

你尚未确认你所使用的语言范畴

ANSI C一共只有38个关键字:
英文释义  auto break case char const(C90标准新增) continue

  default do double else enum(C90标准新增) extern

  float for goto if inline int

  long register restrict return short signed(C90标准新增)

  sizeof static struct switch typedef union

  unsigned void(C90标准新增) volatile(C90标准新增) while _Bool(C99新增) _Complex(C99新增)

  _Imaginary(C99新增) _Generic(C11新增)

查看完整回答
反对 回复 2021-08-02
?
HUX布斯

TA贡献1876条经验 获得超6个赞

这是C++不是C.

最常用的是 using namespace std;
若没有这行.
cout << x;
就要写 std::cout << x;
早期 #include<iostream.h> 还没有 namespace,
後来改成 #include<iostream>, 就有 namespace了. 不写using会比较罗唆.

查看完整回答
反对 回复 2021-08-02
  • 2 回答
  • 0 关注
  • 454 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信