From 88661aa43a28301e71b4950d7bed323e8f7c5345 Mon Sep 17 00:00:00 2001 From: Vault799 <116762220+Vault799@users.noreply.github.com> Date: Fri, 5 May 2023 18:09:15 -0700 Subject: [PATCH 1/5] Update README --- README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README b/README index 74ddb0e..147863a 100644 --- a/README +++ b/README @@ -1,3 +1,4 @@ Contributors: Toby Dylan Hocking -ADD YOUR NAME HERE \ No newline at end of file +Nathaniel Duron +ADD YOUR NAME HERE From ca509b126d06ce4c31a0b7c99ef5028a3cffabf0 Mon Sep 17 00:00:00 2001 From: Vault799 <116762220+Vault799@users.noreply.github.com> Date: Fri, 5 May 2023 18:10:11 -0700 Subject: [PATCH 2/5] Rename get_student_id.c to nld76.c --- get_student_id.c => nld76.c | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename get_student_id.c => nld76.c (100%) diff --git a/get_student_id.c b/nld76.c similarity index 100% rename from get_student_id.c rename to nld76.c From 303ad52631c90e3d73066d23d921a528afa9d2b1 Mon Sep 17 00:00:00 2001 From: Vault799 <116762220+Vault799@users.noreply.github.com> Date: Fri, 5 May 2023 18:17:47 -0700 Subject: [PATCH 3/5] Create makefile --- makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 makefile diff --git a/makefile b/makefile new file mode 100644 index 0000000..5cca9d8 --- /dev/null +++ b/makefile @@ -0,0 +1,15 @@ +CC= gcc + +main.out: main + ./main | tee main.out + +main: main.o get_student_id.o + $(CC) main.o get_student_id.o -o main + +main.o: main.c + $(CC) -c main.c + +get_student_id.o: get_student_id.c + $(CC) -c get_student_id.c + + From b78e829f7c637869945300c06e752710ff5247b6 Mon Sep 17 00:00:00 2001 From: Vault799 <116762220+Vault799@users.noreply.github.com> Date: Fri, 5 May 2023 18:18:55 -0700 Subject: [PATCH 4/5] Update and rename nld76.c to get_student_id.c --- nld76.c => get_student_id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename nld76.c => get_student_id.c (60%) diff --git a/nld76.c b/get_student_id.c similarity index 60% rename from nld76.c rename to get_student_id.c index 8ffa600..043f7b4 100644 --- a/nld76.c +++ b/get_student_id.c @@ -1,3 +1,3 @@ int get_student_id(void){ - return 3331212; + return 6164692; } From 756546edbd07a012c5d173ce55e5d074d2138eac Mon Sep 17 00:00:00 2001 From: Vault799 <116762220+Vault799@users.noreply.github.com> Date: Fri, 5 May 2023 18:20:08 -0700 Subject: [PATCH 5/5] Create 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..ec5ab34 --- /dev/null +++ b/main.out @@ -0,0 +1 @@ +Student ID: 6164692