我加上fflush(stdin);后也行,你加d=getcher();也行,hjack说的也没错。自己想想,然后去试试,去改变,这是学习的好方法之一。
see to the link in 39F.
The most importion thing is that you know why it happens.
And there are many waysto work it out.
Hi,jack!
You are right!
哦哦.....虽然不知道fflush(stdin)是什么意思,但早点认识一下也好。
谢谢各位师兄!!小弟受教!!