Some keywords are colored green automatically. What do those words mean? Are those keywords reserved for C++? Can I use those words as program variables?
Asked
Active
Viewed 549 times
4
-
You can go to the menu `Settings -> Editor -> Syntax highlighting` to see your current syntax highlighting scheme. – Some programmer dude Mar 02 '20 at 13:08
-
1Those are STL code highlights. [Related](https://stackoverflow.com/questions/36340740) – André Caceres Mar 02 '20 at 13:11
2 Answers
0
sizeof
is a keyword. size
is not.
For a more comprehensive list have a look here.

super
- 12,335
- 2
- 19
- 29
-
This does not completely answer the question. The green words are STL-related ones. – André Caceres Mar 02 '20 at 13:13
-
1@AndréCaceres It answers part of the question, namely *Are those keywords reserved for C++?*. Since I'm not familiar with CodeBlocks I just contributed the information I knew. If you can complement or improve on the answer please do, but if you downvote with the reasoning that my answer could be better, you should probably adjust your voting habits. – super Mar 02 '20 at 14:28