diff options
Diffstat (limited to 'CST116F2021-Lab5/CST116F2021-Lab5.cpp')
| -rw-r--r-- | CST116F2021-Lab5/CST116F2021-Lab5.cpp | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/CST116F2021-Lab5/CST116F2021-Lab5.cpp b/CST116F2021-Lab5/CST116F2021-Lab5.cpp index 7446117..380b00f 100644 --- a/CST116F2021-Lab5/CST116F2021-Lab5.cpp +++ b/CST116F2021-Lab5/CST116F2021-Lab5.cpp @@ -6,13 +6,14 @@ int main() { - char firstName[FIRST_NAME]{}; - char lastName[LAST_NAME]{}; - char fullName[FULL_NAME]{}; + char string_1[INPUT_LIMIT]{}; + char string_2[INPUT_LIMIT]{}; - GetFirst(firstName); - GetLast(lastName); - DispName(firstName, lastName, fullName) + GetInput(string_1, string_2); + CompareInput(string_1, string_2); + /*DispResult();*/ + + return 0; } @@ -20,6 +21,24 @@ int main() +//int main() +//{ +// char firstName[FIRST_NAME]{}; +// char lastName[LAST_NAME]{}; +// char fullName[FULL_NAME]{}; +// +// GetFirst(firstName); +// GetLast(lastName); +// DispName(firstName, lastName, fullName); +// +// return 0; +//} + + + + + + //#include <iostream> // //using namespace std; |