什么::在c语言中意味着什么? [英] what does :: mean in c language?

查看:96
本文介绍了什么::在c语言中意味着什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在c语言中是什么意思?

what does :: mean in c language?

推荐答案

什么都没有:它是范围解析运算符 [ ^ ]。它根本不在标准C中使用,会产生编译错误。
Nothing at all: it's the Scope resolution operator[^] in C++. It isn't used in standard C at all and will give a compiler error.


检查这个

http://en.wikipedia.org/wiki/Scope_resolution_operator#C.2B.2B [ ^ ]

BTW :: 运算符不能用于 C 。它用于 C ++
check this
http://en.wikipedia.org/wiki/Scope_resolution_operator#C.2B.2B[^]
BTW ::operator can not be used in C . It is used in C++


请参考: - http://www.programmingsimplified.com/cpp/source-code/scope-resolution-operator [ ^ ]
refer this:-http://www.programmingsimplified.com/cpp/source-code/scope-resolution-operator[^]


这篇关于什么::在c语言中意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆