Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 C 中将一个有符号字符数组转换为一个无符号字符数组。我该怎么做?
为什么不使用 memcpy?
unsigned char uChars[count]; signed char sChars[count]; memcpy(uChars, sChars, count);