摘要:
#include<stdio.h> #include<string> #include<string.h> #include<iostream> using namespace std; //compare比较函数:相等返回0,大于返回1,小于返回-1 int compare(string str1 阅读全文
posted @ 2018-11-21 15:43
shuai_hui
阅读(153)
评论(0)
推荐(0)
摘要:
/* 高精度进制转换 把oldBase 进制的数转化为newBase 进制的数输出。 调用方法,输入str, oldBase newBase. change(); solve(); output(); 也可以修改output(),使符合要求,或者存入另外一个字符数组,备用 */ #include<s 阅读全文
posted @ 2018-11-21 15:42
shuai_hui
阅读(266)
评论(0)
推荐(0)