我有一个 chars 数组"0x55"
。我想要做的是将它转换char
为将要成为的U
(因为 ASCII 0x55 = U
)。
那么如何进行这种转换呢?
#include <windows.h>
int main()
{
array[] = "0x55"
char test;
**// I want to move the string to that test to be one character which is U**
}
有什么建议么?
我有一个 chars 数组"0x55"
。我想要做的是将它转换char
为将要成为的U
(因为 ASCII 0x55 = U
)。
那么如何进行这种转换呢?
#include <windows.h>
int main()
{
array[] = "0x55"
char test;
**// I want to move the string to that test to be one character which is U**
}
有什么建议么?