i have changed complier from msvc to mingw,
macro function : _countof
was not inluded in mingw <stblib.h> or <stdio.h>
#define _countof(array) (sizeof(array) / sizeof(array[0]))
maybe it's only for msvc,
so,i have to add the defination into header file myself,
i'm not sure about the code below:
#ifndef _countof(array)
#define _countof(array) (sizeof(array) / sizeof(array[0]))
#endif
It seems that this way of writing is not common.