64비트정수형 데이타 타입

gcc

컴파일러 구분(버젼) 메크로 : __GNUG__
64bit data type : long long, unsigned long long
formatting: %lld(signed) %llu(unsigned) %llx(hex)
suffix: LL, ULL

Visual C++

컴파일러 구분(버젼) 메크로 : _MSC_VER
64bit data type : __int64, unsigned __int64
formatting: %I64d(signed) %I64u(unsigned) %I64x(hex)
suffix: i64


GeSHi © 2004, Nigel McNie



  1. // DiffResKey 데이타타입(64q비트) 설정


  2. #ifdef _MSC_VER


  3.         typedef unsigned __int64 DiffResKey;


  4. #endif


  5. #ifdef __GNUG__


  6.         typedef unsigned long long DiffResKey;


  7. #endif

Parsed in 0.008 seconds

출처 : http://itsme.egloos.com/195614/