memcpy (buffer,(unsigned char*)&value,2);. Here, buffer is a unsigned char array, value is a short type variable and sizeof(short) is the ...
確定! 回上一頁