If you want to turn all the bits on, a portable way to do this is to define a signed long constant with a value of -1.
如果我们希望所有位全部置位,那么一种可移植的方法是定义一个有符号的常数,其值为- 1。
In cases where unsigned and signed 32-bit integers are mixed in an expression and assigned to a signed long, cast one of the operands to its 64-bit type.
如果在表达式中混合使用无符号和有符号的32位整数,并将其赋值给一个有符号的long类型,那么将其中一个操作数转换成64位的类型。
Alex joins Eduardo and Sanchez Watt, who have both also signed long-term contract extensions with the Club in the past week.
亚历克斯与爱德华多、瓦特一道,都在上周与俱乐部签下了长约。
Alex joins Eduardo and Sanchez Watt, who have both also signed long-term contract extensions with the Club in the past week.
亚历克斯与爱德华多、瓦特一道,都在上周与俱乐部签下了长约。
应用推荐