cout int8_t
int8_t 被 cout 視為 char
static_cast<int16_t>(value)
https://stackoverflow.com/questions/7587782/why-is-stdcout-not-printing-the-correct-value-for-my-int8-t-number
Last updated 2 years ago
Was this helpful?