From 4cfbab3e7e22a48213a105533f08268b9004d12a Mon Sep 17 00:00:00 2001 From: patriciakmadrid <125594817+patriciakmadrid@users.noreply.github.com> Date: Tue, 7 May 2024 16:19:54 -0700 Subject: [PATCH 1/6] Added name to README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aa90123..7b72896 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # CS305_FINAL Contributors: Tayyaba Shaheen -ADD YOUR NAME HERE +Patricia Madrid From 6e3f6812ae015c1d6d2f0cbb035f5d3036395675 Mon Sep 17 00:00:00 2001 From: patriciakmadrid <125594817+patriciakmadrid@users.noreply.github.com> Date: Tue, 7 May 2024 16:20:41 -0700 Subject: [PATCH 2/6] Changed return in 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..b162019 100644 --- a/get_student_id.c +++ b/get_student_id.c @@ -1,3 +1,3 @@ int get_student_id(void){ - return 3331212; + return 6167290; } From 40863b88529a528a1d9a5ea942dcda68d2c30aa0 Mon Sep 17 00:00:00 2001 From: patriciakmadrid <125594817+patriciakmadrid@users.noreply.github.com> Date: Tue, 7 May 2024 17:03:31 -0700 Subject: [PATCH 3/6] Add files via upload --- 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..ec04168 --- /dev/null +++ b/main.out @@ -0,0 +1 @@ +Student ID: 6167290 From 9e7c885c66cac34e76d771c9540dc4c010bc9ec3 Mon Sep 17 00:00:00 2001 From: patriciakmadrid <125594817+patriciakmadrid@users.noreply.github.com> Date: Tue, 7 May 2024 17:09:20 -0700 Subject: [PATCH 4/6] Create Makefile --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fdf0379 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +CC=gcc + +all: main.out + +main.out: main.o get_student_id.o + $(CC) -o main main.o get_student_id.o + ./main | tee main.out + +main.o: main.c + $(CC) -c main.c + +get_student_id.o: get_student_id.c get_student_id.h + $(CC) -c get_student_id.c get_student_id.h + +clean: + rm -f *.o main main.out From 7f3842884df7b0d0350eae2ca400d3a2c400c05f Mon Sep 17 00:00:00 2001 From: patriciakmadrid <125594817+patriciakmadrid@users.noreply.github.com> Date: Tue, 7 May 2024 17:12:40 -0700 Subject: [PATCH 5/6] Delete main.out --- main.out | 1 - 1 file changed, 1 deletion(-) delete mode 100644 main.out diff --git a/main.out b/main.out deleted file mode 100644 index ec04168..0000000 --- a/main.out +++ /dev/null @@ -1 +0,0 @@ -Student ID: 6167290 From 2c14b5a2228b85ae99e78c9fae749441b7c024c8 Mon Sep 17 00:00:00 2001 From: patriciakmadrid <125594817+patriciakmadrid@users.noreply.github.com> Date: Tue, 7 May 2024 17:13:40 -0700 Subject: [PATCH 6/6] Adding main.out to fork --- 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..ec04168 --- /dev/null +++ b/main.out @@ -0,0 +1 @@ +Student ID: 6167290