How to convert const char* to uint16_t octal (C/C++)

后端 未结 0 1344
情歌与酒
情歌与酒 2021-02-01 07:21

I need to convert values with leading zero to octal. Because 12 (14 octal) is different from 012 (10 octal)

The function I will call requires a variable of type uint16_t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题