#include <iostream>
#include <string>
using namespace std;
// 函数默认参数
void move(int step= 1,int delta= 100);
int main()
{
move();
return 0;
}
void move(int step,int delta)
{
cout<<"moving:"<<step<<","<<delta<<endl;
}
10004 函数默认参数
最新推荐文章于 2026-04-17 17:13:37 发布

1343

被折叠的 条评论
为什么被折叠?



