Good Stopping point for CS480 Prep
++ Phases 1-6 Preparation ++ C, H, Makefiles
This commit is contained in:
parent
b861b15368
commit
ca321e6c4e
19 changed files with 889 additions and 0 deletions
47
Preparation/Phase6/Phase6_Prep.c
Normal file
47
Preparation/Phase6/Phase6_Prep.c
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
// header files
|
||||
#include "StringUtils.h"
|
||||
|
||||
// constants
|
||||
|
||||
/*
|
||||
Name: main
|
||||
Process: Runs the String Utilities
|
||||
Function input/parameters: NONE
|
||||
Function output/parameters: NONE
|
||||
Function output/returned: NONE
|
||||
Device input/---: NONE
|
||||
Device output/---: NONE
|
||||
Dependencies: included by standard libraries
|
||||
*/
|
||||
int main()
|
||||
{
|
||||
// define/initialize variables
|
||||
printf("\n---Phase 6: All String Utilities---\n");
|
||||
printf("=====================================\n");
|
||||
// get user input
|
||||
// do calculations
|
||||
|
||||
// string length
|
||||
// getStringLength
|
||||
// string copy
|
||||
// copyString
|
||||
// string concatenate
|
||||
// catString
|
||||
// string compare (<, >, =)
|
||||
// compareString
|
||||
// string substring get
|
||||
// substringGet
|
||||
// string substring find
|
||||
// substringFind
|
||||
// string set to lower
|
||||
// lowerString
|
||||
// string get to delimiter
|
||||
// stringDelimiter
|
||||
// string get to end of line
|
||||
// stringEOL
|
||||
|
||||
// display results
|
||||
printf("\nProgram End\n");
|
||||
// return success
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue