aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author[email protected] <[email protected]>2021-11-02 23:32:54 -0700
committer[email protected] <[email protected]>2021-11-02 23:32:54 -0700
commit1c837451ed493ad924f8b4f606454204fa0c6a40 (patch)
tree60162e681f2086bd7d585c71eb1554f83ca97470
parentLAB5Ansari- Answers V4 (diff)
downloadcst116-lab5-rayyanansari03-1c837451ed493ad924f8b4f606454204fa0c6a40.tar.xz
cst116-lab5-rayyanansari03-1c837451ed493ad924f8b4f606454204fa0c6a40.zip
LAB5Ansari - ANSWERS - VFinalHEADmaster
-rw-r--r--LAB5-Ansari-Answers.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/LAB5-Ansari-Answers.txt b/LAB5-Ansari-Answers.txt
index 2199035..b274057 100644
--- a/LAB5-Ansari-Answers.txt
+++ b/LAB5-Ansari-Answers.txt
@@ -412,6 +412,10 @@ Break into at least 3 files as in 9b.
10 pts #7 Write a full program to do this.
Submit: code & runs
+NOTE: For this question, the books says chech the first 6 characters of string one. Since "Frank" is only 5, I am assuming they want the 6th
+character to be checked as the carrige return. Hence why when Frank is compared to Franklyn, it comes as false because the program compares
+Frank(\0) to Frankl
+
FILE 1 (MAIN)
#include "CommonInfo.h"