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
28
Preparation/Phase6/StringUtils.h
Normal file
28
Preparation/Phase6/StringUtils.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#ifndef STRINGUTILSPREP
|
||||
#define STRINGUTILSPREP
|
||||
|
||||
// header files
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <stdbool.h>
|
||||
#include "StandardConstants.h"
|
||||
|
||||
// data structures
|
||||
|
||||
// function prototypes
|
||||
|
||||
/*
|
||||
Name: getStringLength
|
||||
Process: counts length of string from start to NULL_CHAR ('\0')
|
||||
Function input/parameters: c-style string (char *)
|
||||
Function output/parameters: NONE
|
||||
Function output/returned: length of string (int)
|
||||
Device input/---: NONE
|
||||
Device output/---: NONE
|
||||
Dependencies: included by standard libraries
|
||||
*/
|
||||
int getStringLength(const char *stringLen);
|
||||
|
||||
#endif // STRINGUTILSPREP
|
||||
Loading…
Add table
Add a link
Reference in a new issue