Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我在 c++ 代码中间有括号里的东西,这意味着什么:
[..]
这些括号是什么意思?是cli吗?
这可能在您的代码编辑器中,目的是让您查看更多“上下文”代码。因此,如果您关闭一段代码,您会看到下面的更多内容。
提前抱歉-不确定这是否太简单了。
也许这是下标运算符。
其主要用途是访问特定的数组元素:
const int array[2] = {0,1}; const int value(array[0]); // access element 0 of `array`