ԸաäԴѺŢӹǹ

Category »  Ѻ¤
: Webmaster 30/11/2550 0:01:00
(ҹ : 27115) 
ͧѺ ... ͧͧ "Դ - Data Type" ǹդӤѭҧҡ㹡͡Ẻ Ѳ ҧҷҨҧҹŢѡҧͧǢͧѺԴ ¹ͧաûСȵêԴҧաФѺ ... ͧ ԴͧҹҨժ¡ᵡҧѹе 駹駹ѹǹ͡ԴҨҡҡ˧ ԸաäԴǡѹ 㹻Ѩغѹ Դ ѧ վͧաµ¤ѧͧҡ͹ ... ػѧ͡ "Ҩѹ价 ???" ... ͧ令ԴͧСѹѺ ... Ҩй觷çªҡѹҧҧ

Ҥҵش ٧شͧŢӹǹҴ 1 2 亵 ẺԴͧ
ͧ ... ѧࡵ繤˹¤ RAM ¤Ѻҷѹ֧ҵǵʹ ...
ѹҨҡŢ 2 ¡ѧŢӹǹ §ѹѧҾҹФѺ ... ͧ


ŢӹǹҴ 2 Byte (16 Ե) Integer (ẺԴͧ) դҧ -32,768 ֧ +32,767
ѹдԸա੡蹹ФѺ ... ͧ

ҵش ٧ش ͧŢӹǹҴ 1 亵 ẺԴͧ


ҧ亹Ţ -128
ҺǡŢҹ 2 ҧФѺ ... 1 + 1 = 0 1 ;ͧ


ҧ亹Ţ -28


ҧ亹Ţ -129
٨ҡ

һʤ ͺԴͧ
һʤ ͺԴͧ

ӵͺѺ

ҡ No-3 Ҿ͵ Bytes (Դ BYTE ẺԴͧ) դҡѺ 255 + 1 256 ŷѺǹͺѺҷش ... 蹤 0


ͺ٨ ... Ѿѹè 256 (ҹ 10) 1 0 0 0 0 0 0 0 0 (ҹ 2) ֧ͧѧࡵŢӹǹҴ 1 亵 ѹö纤§ 8 Ե (Ե 7 - Ե 0 = 8 Ե) ѧѹ֧§Ţ 0 8 ǹǷ 1 ѹͺԵ 8 (͵Ƿ 9) ҨѹѴç˹Ы Ѿѹӵͺ 0 ҧ ... ҡͧͧèФԴǷ еͧ¹êԴ BYTE ŢӹǹẺ Integer Ҵ 2 亵᷹ФҺ ...

 C++
C++

ӵͺͧ C++
Ѿ͹ѹФѺ ... ͧ


ͧҷͺѺ MS Visual Basic 6.0
Դ Run Time Error ẺШꡡШ ...
觹͡ҡͧͧԴ ѹѧաҧͧͧСѺ Bug ѹͧҨҡ˵ѡͧ


Bug ... þѲԧҨ Bug ѹ´蹹ФѺ ... ͧ