c/c++面试45-50之字符串
摘要:45 使用库函数将数字转换为字符串,下面是常用库函数 (1) itoa():将整型转换为字符串 (2)ltoa():将长整形转换为字符串 (3)gcvt():将浮点转换为字符串 46 不使用库函数将整数转换为字符串 >通过把整数的各位上的数字加上'\0'转换为char类型并存到字符数组 (1)代码
阅读全文
posted @ 2017-12-13 14:43
posted @ 2017-12-13 14:43
posted @ 2017-12-08 17:00
posted @ 2017-12-07 10:12
posted @ 2017-12-05 08:53