- 博客(13)
- 收藏
- 关注
原创 MIB iReasoning MIB Browser显示中文
0xe5 0x95 0x8a 是 UTF-8 编码格式中的三个字节,可以转换为对应的中文字符。iReasoning MIB Browser查询出设备上的中文,显示为十六进制通过转码,可以转成汉字,怀疑是软件问题。0xe6 0x88 0x91 是 UTF-8 编码格式中的三个字节,可以转换为对应的中文字符。因此,0xE5 0x95 0x8A 表示的中文字符是 “啊”。因此,0xE6 0x88 0x91 表示的中文字符是 “我”。啊 == 0xe5 0x95 0x8a。我 == 0xe6 0x88 0x91。
2024-07-17 11:26:07
170
原创 c++ 一行输入以空格隔开的数字如何存到一个数组中
int value;vector<int> vec1;char c;cin>>value;vec1.push_back(value);while ((c = getchar()) != '\n') { cin>>value; vec1.push_back(value);}输入:10 11 21 19 21 17 21 16 21 18 15
2021-12-16 00:47:07
1957
原创 面试题 02.05. 链表求和 C
Leetcode 面试题 02.05. 链表求和解决后就通过了:tmp->next=NULL;//这一行导致了结构体内存问题。Line 70: Char 15: runtime error: member access within misaligned address 0xbebebebebebebebe for type ‘struct ListNode’, which requires 8 byte alignment (ListNode.c)0xbebebebebebebebe:
2020-09-16 23:24:24
143
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人