I simply want to set a complete array back to 0. Something like a "reset" method.
I know that I can use something like this to initalize an array to zero:
int array[100] = {0}; //possible since c++11
but I am not sure to reset it. Something like array[100] = {0};
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.
I am not allowed to use memset cause of the coding guideline.