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.
在我的 Linux 机器上,它显示为^A,CTRL-A当 ivi文件时。在编写 C 程序时,我应该如何引用它?我怎样才能找出它的数值?
^A
CTRL-A
vi
控制字符比它们的字符小 0x40。A是65,所以^A是1。
A
65
1
这应该有帮助吗?
http://www.robelle.com/smugbook/ascii.html
否则,您总是可以只读取文件并将该特定字符作为值输出以查看它是什么。