#include<iostream>
using namespace std;
void xsfz(int);
int main()
{int x,f;
cin>>x; ..1
cin>>f; ..2
xsfz(x,f); ..3
}
void xsfz(int i,int j)
{cout<<"Enter the number of hours:";
cout<<endl;
cout<<"Enter the number of minutes:";
cout<<endl;
cout<<"Time: "<<x<<":"<<f;
}
1.2中的值为什么无法传递到3中呢?我是新手~大家帮我修改修改,谢谢~!