0

I am using codeblocks for compiling C source files. I noticed that variable name count is displayed in green color (default color for reserved words). Any reason? Or is this could be a bug in codeblocks? Here is the image:

Code Blocks image

Rajesh
  • 1,085
  • 1
  • 12
  • 25
  • Well, I don't know if this is the reason, but there is a function called `std::count` in `` that counts the number of occurrences of an element in an iterator range. – user123 Oct 07 '17 at 14:48
  • Do you have `using namespace std;` in your code? Then it picks up the [`std::count`](http://en.cppreference.com/w/cpp/algorithm/count) function. – Some programmer dude Oct 07 '17 at 14:48

0 Answers0