快速计算数组维数的办法

  比如 UINT arr = {1,1,3};

则这个数组的维数为:sizeof(arr)/sizeof(UINT)

posted on 2015-05-01 02:49  cpp520  阅读(422)  评论(0编辑  收藏  举报

导航