#define zero(struct) memset((void*)&struct,0,sizeof(struct)) ... SPOT speed; zero(speed); // initializes the SPOT struct "speed" to zero !! Unlike C/C++, sizeof ...
確定! 回上一頁