将cout<<"尀t尀tPush1(S1,"<<c<<")";和cin>>ch改成C语言形式的,急!!!!!!

2025-04-10 09:51:02
推荐回答(1个)
回答1:

不知道你的c和ch是什么类型,我暂且当成int处理,不对你再改对应的%d就ok
int c = 10;
printf("\t\tPush1(S1,%d)", c);
int ch;
scanf("%d", &ch);