|
 
- 帖子
- 362
- 精華
- 0
- 威望
- 126
- 魅力
- 0
- 讚好
- 0
- 性別
- 男
|
3#
發表於 2005-6-19 06:50 PM
| 只看該作者
Originally posted by secretfj at 2005-6-19 06:37 PM:
; I% U% x0 B& H6 c7 ^0 W2 E有無人知點解?
- q4 e! `3 Y' m0 p! `* n( @Server 的Backup Code?6 ]1 f8 ]; D c/ Z
so funny, thanks a lot! s! Q" l5 v# K
& v1 c$ p' B9 h) b( a0 c3 o. B+ Z$ _好簡單, ICQ 應該係 Visual C++ 寫的 , 而係 Visual C++ 入面: U+ z7 Q, p V+ h
Maximum value for a variable of type "unsigned int" 係 4294967295 (0xffffffff)
. w# {2 }* A i2 J8 I& q個 value 過左呢個 range 就會 overflow , 佢只會理最後個32bits 數 (即係好似返返轉頭 , 循環咁)
8 q3 o8 k. V# U' K# Ce.g.3 J0 z) Y+ x) {( i/ D8 ?6 }
0 + 4294967295 = 4294967295 (max)6 a/ B% s9 r* u* O( G
1 + 4294967295 = 0 + 4294967296 = 0 (because of overflow)
$ q+ M/ O0 ^( V) Band so on...., {1 n: p. Q$ Y5 u
# X1 D, H$ D: R/ ?[ Last edited by gaye on 2005-6-19 at 06:57 PM ] |
|