int nsize1 = sizeof(mystruct.item1); // Like this int nsize2 ... I'll stick with C and let you C++ folks C++-ize it properly.
確定! 回上一頁