帮我看看我这新手写的代码
#include <dos.h>
#include <iostream.h>
main()
{
int *p,*p1;
cin>>*p; cin>>*p1;
than(*p,*p1);//老说这错
}
int than(int *q,int *q1)
{
struct dostime_t t;
_dos_gettime(&t);
if (*q!=t.hour)
than(q,q1);
else
if (*q1!=t.minute)
{
than(q,q1);
cout<<"Time Is Over"<<endl;
}
return 0;
}