急求!!!c语言中的printf 和scanf怎样改成C++中的语句?
printf("\nthetimethecararrive:%d:%d",p->reach.hour,p->reach.min);printf("thedeparttim...
printf("\nthe time the car arrive: %d:%d",p->reach.hour,p->reach.min);
printf("the depart time: %d:%d",p->leave.hour,p->leave.min);
scanf("%d:%d",&(p->reach.hour),&(p->reach.min));
这三句怎么该成cin,cout 展开
printf("the depart time: %d:%d",p->leave.hour,p->leave.min);
scanf("%d:%d",&(p->reach.hour),&(p->reach.min));
这三句怎么该成cin,cout 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询