c++用递归法将一个整数n转换成字符串

先来描述一下问题: C++用递归的方法把一个整数n转换成字符串能够是任意位的整数。 话很少说,直接上代码。ios #include<iostream> #include<string> using namespace std; string c=""; string b=""; int main() { void convert(int); //函数声明。 int m;
相关文章
相关标签/搜索