由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - what is difference between 0x0008 and 8?
相关主题
怎么编写改变数据类型的子程?float vs decimal
double转换int的问题一个dot net浮点运算的问题
question about shift【急】JS round 运算出错如何破
弱问c++里有没有NULL这个keyword?functional programming的两个方面
c++如何把小数转成二进制输出到文本文件?PicutureBox and GIF
C++ questionhow to separate a long line to be two show lines?
base 13?没有大牛关注Chrome Apps?
help about convert a char array in cwar和ear有什么区别?分别在什么情况下使用?
相关话题的讨论汇总
话题: 0x0008话题: difference话题: what话题: between话题: pers
进入Programming版参与讨论
1 (共1页)
h**o
发帖数: 548
1
const ushort PERS_ID_GIF_OPT_LEVEL = 0x0008;
what does it mean? why not represent it as 8?
Thanks,
g*****g
发帖数: 34805
2
No difference, for binary mask, it means 00001000.
People think this is clear.

【在 h**o 的大作中提到】
: const ushort PERS_ID_GIF_OPT_LEVEL = 0x0008;
: what does it mean? why not represent it as 8?
: Thanks,

l***8
发帖数: 149
3
Yeah it is much cleaner to define a binary mask for bits 9 thru 13 as 0x3e00
, instead of the decimal "15872".
1 (共1页)
进入Programming版参与讨论
相关主题
war和ear有什么区别?分别在什么情况下使用?c++如何把小数转成二进制输出到文本文件?
Any difference between class and typename identifier?C++ question
How does YAHOO calculate RSI? (转载)base 13?
请教一个design的问题help about convert a char array in c
怎么编写改变数据类型的子程?float vs decimal
double转换int的问题一个dot net浮点运算的问题
question about shift【急】JS round 运算出错如何破
弱问c++里有没有NULL这个keyword?functional programming的两个方面
相关话题的讨论汇总
话题: 0x0008话题: difference话题: what话题: between话题: pers