From ffb5b6961ff5569216b6211b92dedf501b367c01 Mon Sep 17 00:00:00 2001 From: Complex32 Date: Mon, 9 Dec 2019 23:44:50 -0600 Subject: [PATCH 1/3] add buggy.c --- buggy.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/buggy.c b/buggy.c index aae42b1..0ceae9d 100644 --- a/buggy.c +++ b/buggy.c @@ -7,6 +7,7 @@ 3. create a new branch on git 4. git push changed buggy.c 5. create pull request with your name and changes you made + 6. Make Corrections */ @@ -19,7 +20,7 @@ struct dog void main() { - struct (dog) thing1: + struct (dog) thing1; //changed to semicolon struct dog thing2; thing1.age = [5]; @@ -31,7 +32,7 @@ void main() strcpy(thing2.name, "Buster"); printf("Name: %i\n",thing1.name ); - printf("Age: %i\n",thing1.age): + printf("Age: %i\n",thing1.age); //Changed to semicolon printf("Thing2 Name: %s\n,thing2.name); printf("Thing2 Age %i\n',thing2.age); -} \ No newline at end of file +} From 5ee64998ef0cf108aa5355e369996f4c1cb8eb86 Mon Sep 17 00:00:00 2001 From: Complex32 Date: Tue, 10 Dec 2019 00:02:09 -0600 Subject: [PATCH 2/3] made changes to buggy.c --- buggy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buggy.c b/buggy.c index 0ceae9d..9eea57e 100644 --- a/buggy.c +++ b/buggy.c @@ -7,7 +7,7 @@ 3. create a new branch on git 4. git push changed buggy.c 5. create pull request with your name and changes you made - 6. Make Corrections + 6. Make Corrections and screenshots */ From 760386fd615d3eb4f1d0a6358c1a198eb440a6ed Mon Sep 17 00:00:00 2001 From: Complex32 Date: Tue, 10 Dec 2019 00:06:20 -0600 Subject: [PATCH 3/3] added change in new branch --- buggy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buggy.c b/buggy.c index 9eea57e..b50611f 100644 --- a/buggy.c +++ b/buggy.c @@ -34,5 +34,5 @@ void main() printf("Name: %i\n",thing1.name ); printf("Age: %i\n",thing1.age); //Changed to semicolon printf("Thing2 Name: %s\n,thing2.name); - printf("Thing2 Age %i\n',thing2.age); + printf("Thing2 Age %i\n",thing2.age); //corrected qoutations }