
c++
c++相关知识
werdery
免贵姓胡
展开
-
hdu1002大数模拟
hdu1002 大数模拟题 #include <iostream> #include<string> #include<string.h> #include<sstream> using namespace std; char num[2020]; char num2[1010]; int main() { int n; cin>...原创 2020-03-19 23:09:28 · 110 阅读 · 0 评论 -
c++基本语法之函数参数const int&
c++基本语法之函数参数const int& #include <iostream> using namespace std; //这种方式对参数的修改是全局性的 void fun(int &x){ x++; } //这种方式的参数是只读的 void fun1(const int &x){ cout<<x<<endl; } ...原创 2020-02-07 17:26:10 · 3127 阅读 · 0 评论