From a734eb182ec28735f6f8fb9fd00c343e936d0465 Mon Sep 17 00:00:00 2001 From: winningham <54338413+winningham@users.noreply.github.com> Date: Sat, 29 Jan 2022 00:34:53 -0600 Subject: [PATCH 1/4] add new sentences source --- sentences/bjwhpq.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sentences/bjwhpq.c diff --git a/sentences/bjwhpq.c b/sentences/bjwhpq.c new file mode 100644 index 0000000..9bc4ff1 --- /dev/null +++ b/sentences/bjwhpq.c @@ -0,0 +1,17 @@ +//bjwhpq sentences + +# include + +int bjwhpqSentence1() +{ + printf("So they all made hot chocolate and s'mores."); + return 1; +} + +int bjwhpqSentence2() +{ + printf("It strikes the dragon on the head with surprising force for such a small object.\n"); + return 1; +} + + From c6ce424dedcd8608d5545d81036994320c86f620 Mon Sep 17 00:00:00 2001 From: winningham <54338413+winningham@users.noreply.github.com> Date: Sat, 29 Jan 2022 00:37:24 -0600 Subject: [PATCH 2/4] Update _HEADERS.h added bjwhpq sentence 1 and 2 --- sentences/_HEADERS.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sentences/_HEADERS.h b/sentences/_HEADERS.h index 81e0413..e5f993e 100644 --- a/sentences/_HEADERS.h +++ b/sentences/_HEADERS.h @@ -44,4 +44,6 @@ int edmqgcSentence2(); int rdcr2nSentence1(); int rdcr2nSentence2(); int mnygpSentence1(); -int mnygpSentence2(); \ No newline at end of file +int mnygpSentence2(); +int bjwhpqSentence1(); +int bjwhpqSentence2(); From 3c688d845a38bf7cdc224060e8d27804cfe8275e Mon Sep 17 00:00:00 2001 From: winningham <54338413+winningham@users.noreply.github.com> Date: Sat, 29 Jan 2022 00:39:32 -0600 Subject: [PATCH 3/4] Update Makefile added bjwhpq.o --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 189e67b..1f0f044 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ cleanwin: # 'all' needs 'story.o'. What does story need? # And how do we make it? # ----------------------------------------------- -story: story.o bpbkt7.o bebz4t.o zwsx9f.o dmmdnr.o jmchpd.o qpty9t.o amz28.o rbhmm5.o esdnk7.o jee9pv.o rjkncd.o nrmb9r.o hgc8zc.o rkg7gg.o cejnfp.o cytbm.o kjkvfw.o edmqgc.o rdcr2n.o mnygp.o +story: story.o bpbkt7.o bebz4t.o zwsx9f.o dmmdnr.o jmchpd.o qpty9t.o amz28.o rbhmm5.o esdnk7.o jee9pv.o rjkncd.o nrmb9r.o hgc8zc.o rkg7gg.o cejnfp.o cytbm.o kjkvfw.o edmqgc.o rdcr2n.o mnygp.o bjwhpq.o $(CC) $^ -o story ## @@ -119,6 +119,10 @@ rdcr2n.o: sentences/rdcr2n.c mnygp.o: sentences/mnygp.c $(CC) -c $< + +bjwhpq.o: sentences/bjwhpq.c + $(CC) -c $< + #story.o: story.c From c8765655d41d893fdd3db99ac07448500763f4d0 Mon Sep 17 00:00:00 2001 From: winningham <54338413+winningham@users.noreply.github.com> Date: Sat, 29 Jan 2022 00:43:31 -0600 Subject: [PATCH 4/4] Update story.c added my two sentences to the story --- story.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/story.c b/story.c index 68c5d94..819d97f 100644 --- a/story.c +++ b/story.c @@ -42,6 +42,7 @@ int main( void ) dmmdnrSentence1(); zwsx9fSentence1(); amz28Sentence1(); + bjwhpqSentence1(); // "So they all made hot chocolate." bebz4tSentence2(); zwsx9fSentence2(); jmchpdSentence2(); @@ -73,6 +74,7 @@ int main( void ) kjkvfwSentence1(); kjkvfwSentence2(); rdcr2nSentence1(); + bjwhpqSentence2(); //"It strikes the dragon on the head with surprising force for such a small object." rdcr2nSentence2(); // Ben's sentence should be last.