From 02d4b7d68534284f42bb69dcc0efadd0eb4f1ae1 Mon Sep 17 00:00:00 2001 From: Clay Smith Date: Wed, 15 Feb 2023 06:41:54 -0600 Subject: Demo time --- student.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'student.c') diff --git a/student.c b/student.c index b0437fc..18f9591 100644 --- a/student.c +++ b/student.c @@ -2,8 +2,7 @@ #include "user_defs.h" int main(void) -{ - char buffer[100]; fgets(buffer, 99, stdin); //mandatory to fix controller programs input stream, not needed if they use fgets and sscanf instead of scanf +{ FIX int num = -2, type = -2, code = -2, value = -2; double time = -2; -- cgit v1.2.1