Format specifiers for uint8_t, uint16_t, …?

后端 未结 7 1492
执念已碎
执念已碎 2020-11-30 20:26

If I have an integer variable I can use sscanf as shown below by using the format specifier %d.

sscanf (line, \"Value of integer: %d\\n\", &         


        
7条回答
  •  情深已故
    2020-11-30 21:12

    Refer to this for sscanf usage.

    These datatypes are defined in stdint.h. Refer here for stdint.h

    Shash

提交回复
热议问题