title: C/C++ Create an enum with negative values, without having to number it
body: <p>For example in C/C++, I would have the code:</p>
  
  <pre><code>typedef enum fruits{
     apple,
     banana,
     lemon,
     orange
  } fruit_t;
  </code></pre>
  
  <p>Which would be equivalent to:</p>
  
  <pre><code>typedef enum fruits{
     apple = 0,
     banana = 1,
     lemon = 2,
     orange = 3
  } fruit_t;
  </code></pre>
  
  <p>However, I would like the values to be negative, so they do not conflict with anything else. I could do it like this:</p>
  
  <pre><code>typedef enum fruits{
     apple = -1,
     banana = -2,
     lemon = -3,
     orange = -4
  } fruit_t;
  </code></pre>
  
  <p>But if I would like to add another fruit, I have to assign another value, and if I put one inbetween, I have to renumber most of it. Is there an easier way of doing this?</p>