|
Array initialization in a class
I want to initialize all the elements in a 2-dim array to zerro in my class header file.
This works in main......
int array[24][24] = {0};
but it does not work in my header file. Why?
anyone know how to do it in the header file?
|