|
 
- 帖子
- 362
- 精華
- 0
- 威望
- 126
- 魅力
- 0
- 讚好
- 0
- 性別
- 男
|
1#
發表於 2005-6-19 06:50 PM
| 顯示全部帖子
Originally posted by secretfj at 2005-6-19 06:37 PM:8 M( m: j/ u, s8 i" x5 q
有無人知點解?' c) G. O4 L2 b, Z3 j
Server 的Backup Code?
8 l# q: L4 B6 l9 P7 {) A, |# oso funny, thanks a lot! 1 m, @, x. {. `/ \, B
6 I; H0 f& T5 q2 e+ }8 o
好簡單, ICQ 應該係 Visual C++ 寫的 , 而係 Visual C++ 入面
. U: }( `" z3 KMaximum value for a variable of type "unsigned int" 係 4294967295 (0xffffffff) ( I& h% E9 u' H0 V- @
個 value 過左呢個 range 就會 overflow , 佢只會理最後個32bits 數 (即係好似返返轉頭 , 循環咁)
6 @7 t9 z( g- U6 `, O9 z6 [e.g.' a& w0 e- o6 k f- c% W2 M9 v1 X. V
0 + 4294967295 = 4294967295 (max)) W$ S$ y$ N6 f! o5 _1 c7 v
1 + 4294967295 = 0 + 4294967296 = 0 (because of overflow) y# g+ f) ]+ p# p7 Z ~) P' o
and so on....
; V: q; J9 b' u9 ]& C( Q3 Y, z/ Z M' h2 j) Y, T, [
[ Last edited by gaye on 2005-6-19 at 06:57 PM ] |
|