Fixed-width integers in C++

后端 未结 6 2030
梦谈多话
梦谈多话 2020-12-10 01:59

Occasionally I need to use fixed-width integers for communication with external devices like PLCs. I also use them to define bitmasks and perform bit manipulation of image d

6条回答
  •  庸人自扰
    2020-12-10 02:19

    Include the file to get the definitions for types like uint16_t. VC++ doesn't come with by default, but you can get that file from several places. Wikipedia lists a few, and Google will find you lots more.

提交回复
热议问题