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.
好的,假设我想将地址存储0xcdddd298在 C 字符串中,以便它以小端格式存储该地址的位。我该怎么做?会是这样的\x98d2ddcd吗?
0xcdddd298
\x98d2ddcd
不,会的"\x98\xd2\xdd\xcd"。
"\x98\xd2\xdd\xcd"
但我不确定您为什么要将地址存储在字符串中。