2015年10月3日

给出一个十六进制的数0xFF 0x80 (只有2“位”) 将其转换成有符号的一字节的十进制整数

摘要: #include #include#include #includeusing namespace std;int main(){ char ch[8]; char ch2[8]={'0','0','0','0','0','0','0','0'}; ltoa(strtol("0xb... 阅读全文

posted @ 2015-10-03 15:18 邗影 阅读(3498) 评论(0) 推荐(0) 编辑

导航