error C2198: 'home' : too few actual parameters 时间:2026-06-03 19:47:00 浏览:870次 你定义的home(int x,int y)函数有两个参数,所以调用的时候也要有参数你的main中的home();应该改为home(100,200)或者其他的数 标签:error,C2198,home