From 061697e7a473d830d0d9165cab7ebc037e740698 Mon Sep 17 00:00:00 2001 From: Chris-McCorkle <98447606+Chris-McCorkle@users.noreply.github.com> Date: Wed, 8 May 2024 02:59:06 -0500 Subject: [PATCH 1/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aa90123..9a9046e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # CS305_FINAL Contributors: Tayyaba Shaheen -ADD YOUR NAME HERE +Chris McCorkle From 2fa0c99721c21bcb0ad88a6c3b4909f37fe40ae3 Mon Sep 17 00:00:00 2001 From: Chris-McCorkle <98447606+Chris-McCorkle@users.noreply.github.com> Date: Wed, 8 May 2024 03:01:46 -0500 Subject: [PATCH 2/4] Update get_student_id.c --- get_student_id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_student_id.c b/get_student_id.c index 8ffa600..a523236 100644 --- a/get_student_id.c +++ b/get_student_id.c @@ -1,3 +1,3 @@ int get_student_id(void){ - return 3331212; + return 5910177; } From 33462ab9aa532a697f5081be8aaa7da606adeeb8 Mon Sep 17 00:00:00 2001 From: Chris-McCorkle <98447606+Chris-McCorkle@users.noreply.github.com> Date: Wed, 8 May 2024 03:23:04 -0500 Subject: [PATCH 3/4] Create makefile --- makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 makefile diff --git a/makefile b/makefile new file mode 100644 index 0000000..9d71b2e --- /dev/null +++ b/makefile @@ -0,0 +1,20 @@ +CC = gcc +DEBUG = -g +CFLAGS = -Wall -std=c99 -pedantic -c $(DEBUG) +LFLAGS = -Wall -std=c99 -pedantic -lpthread $(DEBUG) + +main.out: main + ./main | tee main.out + +main: get_student_id.o main.o + $(CC) $(LFLAGS) get_student_id.o \ + main.o -o main + +main.o: main.c + $(CC) $(CFLAGS) main.c + + get_student_id.o: get_student_id.c + $(CC) $(CFLAGS) get_student_id.c + +clean: + \rm *.o main From d578ee07a30dc284a92041f4b19e2b27d4886097 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 8 May 2024 03:26:13 -0500 Subject: [PATCH 4/4] added main.out --- main.out | 1 + 1 file changed, 1 insertion(+) create mode 100644 main.out diff --git a/main.out b/main.out new file mode 100644 index 0000000..d8df425 --- /dev/null +++ b/main.out @@ -0,0 +1 @@ +Student ID: 5910177