gpt4 book ai didi

c++ - 如何将 char 数组转换为 uintmax_t?

转载 作者:行者123 更新时间:2023-11-30 20:41:29 27 4
gpt4 key购买 nike

Possible Duplicate:
Convert char array to single int?

如何将 char 数组转换为 uintmax_t?char 数组包含 uintMax_t 值,但采用字符串格式。谢谢。

最佳答案

您需要使用atoiatol

关于c++ - 如何将 char 数组转换为 uintmax_t?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14169048/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com