Why is “array” marked as a reserved word in Visual

2019-01-18 17:31发布

Visual Studio syntax highlighting colors this word blue as if it were a keyword or reserved word. I tried searching online for it but the word "array" throws the search off, I get mostly pages explaining what an array is. What is it used for?

7条回答
欢心
2楼-- · 2019-01-18 18:25

The fact that a word's being hightlighted in MSVC doesn't mean that it's a C/C++ keyword. As you can see, it also highlights many non-standard things like __int64, or even __int128 although there's no 128-bit int type in VC.

查看更多
登录 后发表回答