摘要: 题目:62进制(非大数除法实现) '0'-'9'-----0-9 A-Z-------10-35 a-z--------36-62具体说明可以参考此博客http://www.cppblog.com/kuangbin/archive/2011/08/25/154299.html?opt=admin在此简短说一下: 例如 10进制的18 转换为2进制 被除数 除数 商 余数 1 8 / 2---------09 0 ---------- 1轮结束9/2 -------- 4 1 --------- 2轮结束 4 / 2-------- 2 0 ---------3轮 阅读全文
posted @ 2013-09-23 22:23 Geekers 阅读(1309) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 4 5 using namespace std; 6 7 8 #define MAX 3 9 10 11 typedef struct _DATA_ 12 { 13 int iAge; 14 char szName[20]; 15 16 17 }Data,*pData; 18 19 20 typedef struct _LINETABLE_ 21 { 22 23 pData pDataTemp; 24 25 int iMax; 26 int iSize; 27 ... 阅读全文
posted @ 2013-09-23 22:20 Geekers 阅读(303) 评论(0) 推荐(0) 编辑