go top

字符串转换为整数

网络释义

  atoi

... 头文件stdlib.h 字符串转换为整数atoi 字符串转换为长整数atol ...

基于88个网页-相关网页

短语

字符串转换为长整数 atol ; strtol

将字符串转换为整数 Convert the string to integer

有道翻译

字符串转换为整数

Convert a string to an integer

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • 如何十六进字符串转换为整数

    How to convert a hexadecimal string into an integer.

    youdao

  • 对于不能字符串转换整数情况目标字段中使用一个用户指定的默认整数

    In cases where the string cannot be converted to an integer, a user-specified default int is placed in the target field.

    youdao

  • 字符串布尔值使用时,首先字符串转换为整数然后计算(非0)(0)。

    When a string is used as a Boolean, it is first converted to an integer, and then evaluated for truth (non-zero) or falsehood (zero).

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定