会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
likeghee
博客园
首页
新随笔
联系
管理
订阅
2018年11月4日
3、习题5.14 编写一个程序,输人一个十进制数,输出相应的二进制数。设计一个递归函数实现数制转换。
摘要: 这代码写的真的是越写越冗长 无力吐槽 #include <iostream> using namespace std; void tran_dayu0_b_hex(int x)//转换函数1 { if (x > 0) { static int a[1000]; static int cal = 0;
阅读全文
posted @ 2018-11-04 22:51 likeghee
阅读(2831)
评论(0)
推荐(0)
编辑
公告