I need to dynamically create an array of integer. I\'ve found that when using a static array the syntax
int a [5]={0};
initializes correctl
I'd advise you to use std::vector or std::array
std::vector
std::array