title: Set an array to zero with c++11
body: <p>I simply want to set a complete array back to 0. Something like a "reset" method. <br>
  I know that I can use something like this to initalize an array to zero:</p>
  
  <pre><code>int array[100] = {0};     //possible since c++11
  </code></pre>
  
  <p>but I am not sure to reset it. Something like <code>array[100] = {0};</code> only sets the 100-element to 0. I know I can do it with a for loop, but there has to be a better way. <br>
  I am not allowed to use memset cause of the coding guideline.</p>