#define TABLESIZE(table) (sizeof(table)/sizeof(table[1])) 转载于:https://www.cnblogs.com/baiduboy/p/7495123.html