From 564dbaddcf4f72dc60ec9920a1a24559394b58cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E4=B8=96=E6=B3=A2?= <2783626707@qq.com> Date: Sun, 12 Nov 2023 16:37:48 +0800 Subject: [PATCH] fix:confirm hint --- operations.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/operations.c b/operations.c index 12c8568..9467eb4 100644 --- a/operations.c +++ b/operations.c @@ -86,9 +86,9 @@ void cancel(ss*stu){ } stu->nums--; allPrint(stu); - printf("continue?\n"); + printf("continue?(y/n)\n"); scanf("%s",tmp); - }while(!strcmp(tmp,"yes")); + }while(!strcmp(tmp,"y")); } //修改学生信息