simple C code to do integer to string conversion
来源:互联网 发布:在淘宝卖水果茶怎么样 编辑:程序博客网 时间:2024/05/22 22:06
char* itoa(int val, int base){ static char buf[32] = {0}; int i = 30; for(; val && i ; --i, val /= base)buf[i] ="0123456789abcdef"[val % base]; return &buf[i+1];}
- simple C code to do integer to string conversion
- [C++] String to Integer (atoi)
- Hex to String Conversion C++/C/Qt?
- CODE 122: String to Integer (atoi)
- Leet Code 8 String to Integer (atoi)
- [LeetCode OJ]ZigZag Conversion && Valid Sudoku && String to Integer (atoi)
- incompatible integer to pointer conversion assigning to
- string to integer & integer to string
- [C++]LeetCode: 24 String to Integer (atoi)
- 【leetcode c++】08 String to Integer (atoi)
- 008String to Integer (atoi) (C)
- Leetcode c语言-String to Integer (atoi)
- leetcode 日经贴,Cpp code -String to Integer (atoi)
- Leet Code OJ 8. String to Integer (atoi) [Difficulty: Easy]
- 山科大 oj String to Integer (IV) (Append Code)
- Leet Code OJ 8. String to Integer (atoi) [Difficulty: Easy]
- string to integer
- String to Integer (atoi)
- 明天就是生日了
- 纷繁的 XML Schema 技术:基于规则的语言 (上)
- 纷繁的 XML Schema 技术:基于语法的语言 (下)
- Apache 日志 分析/研究 by Emerald 绿色学院 - Green Institute
- 终于搞定proftp :-)
- simple C code to do integer to string conversion
- Hibernate 中文网的关闭让人很失望。
- Opera Bookmarks 2005.02.18 by Emerald 绿色学院 - Green Institute
- 呵呵,我的blog在csdn的排名不错哈~~
- Windows多线程多任务设计初步
- 解决XP越用越慢的问题
- Ward Cunningham创建模式共享社区
- Patterns Of Enterprise Application Architecture
- forget it!