zoukankan      html  css  js  c++  java
  • 数据类型表(DELPHI、C++)

    delphi整型数据表
    Integer -2147483648..2147483647 signed 32-bit
    Cardinal 0..4294967295 unsigned 32-bit
    Shortint -128..127 signed 8-bit
    Smallint -32768..32767  signed 16-bit
    Longint -2147483648..2147483647 signed 32-bit
    Int64 -2^63..2^63? signed 64-bit
    Byte 0..255 unsigned 8-bit
    Word  0..65535  unsigned 16-bit
    Longword 0..4294967295 unsigned 32-bit
           
    C++
    char -128 到 127 或者 0 到 255   1 个字节
    unsigned char 0 到 255   1 个字节
    signed char -128 到 127   1 个字节
    int -2147483648 到 2147483647   4 个字节
    unsigned int 0 到 4294967295   4 个字节
    signed int -2147483648 到 2147483647   4 个字节
    short int -32768 到 32767   2 个字节
    unsigned short int  0 到 65,535    2 个字节
     signed short int  -32768 到 32767    2 个字节
     long int  -9,223,372,036,854,775,808 到 9,223,372,036,854,775,807    8 个字节
    signed long int -9,223,372,036,854,775,808 到 9,223,372,036,854,775,807   8 个字节
    unsigned long int 0 to 18,446,744,073,709,551,615   8 个字节
    float  +/- 3.4e +/- 38 (~7 个数字)   4 个字节
    double +/- 1.7e +/- 308 (~15 个数字)   8 个字节
    long double +/- 1.7e +/- 308 (~15 个数字)   16 个字节
    wchar_t 2 或 4 个字节   1 个宽字符
           

    结束:

  • 相关阅读:
    [恢]hdu 1517
    [恢]hdu 1847
    [恢]hdu 2189
    XHTML学习资料(二)
    基于ASP.NET的lucene.net全文搜索(一)
    XHTML学习资料(三)—— 表格
    ASP.NET中的Menu控件的应用
    基于ASP.NET的lucene.net全文搜索(二)
    EasyFas开源t框架说明
    动态解析XML生成EXCEL
  • 原文地址:https://www.cnblogs.com/FKdelphi/p/10509078.html
Copyright © 2011-2022 走看看