zoukankan      html  css  js  c++  java
  • C/C++中变量类型最值之宏定义

    C/C++ 【climits(limits.h)】

    CHAR_BIT        Number of bits for a char object (byte)                        8

    SCHAR_MIN     Minimum value for an object of type signedchar               -127

    SCHAR_MAX       Maximumvalue for an object of type signed char                     127

    UCHAR_MAX      Maximumvalue for an object of type unsigned char              255

    CHAR_MIN       Minimum value for an object of type char              either SCHAR_MIN or 0

    CHAR_MAX      Maximum value for an object of type char        eitherSCHAR_MAX or UCHAR_MAX

    MB_LEN_MAX     Maximumnumber of bytes in a multibyte character, for any locale    1

    SHRT_MIN        Minimum value for an object of type shortint                  -32767

    SHRT_MAX       Maximum value for an object of type shortint                 32767

    USHRT_MAX       Maximumvalue for an object of type unsigned short int          65535

    INT_MIN           Minimum value for an object of type int                       -32767

    INT_MAX          Maximum value for an object of type int                       32767

    UINT_MAX       Maximum value for an object of type unsignedshort int           65535

    LONG_MIN       Minimum value for an object of type longint                -2147483647

    LONG_MAX      Maximum value for an object of type longint               2147483647

    ULONG_MAX      Maximumvalue for an object of type unsigned int            4294967295

  • 相关阅读:
    十大编程算法助程序员走上高手之路
    软件流程图规范
    统一软件开发过程(rup)理解
    Java 数组基础
    软件开发生命周期模型 瀑布模型、增量模型、原型模型、螺旋模型、喷泉模型总结
    UML(5)——协作图
    时序图、活动图、状态图、协作图的区别
    面向对象分析设计-------02UML+UML各种图形及作用
    ExecutorService的十个使用技巧
    使用guava带来的方便
  • 原文地址:https://www.cnblogs.com/engineerLF/p/5393159.html
Copyright © 2011-2022 走看看