strindex
strindex to find pattern in string s. Section 4.1 of The C Programming Language.
About the project:
strindex.c
will find the first occurrence of the substringsearchfor
.strindex_lastoccurrence.c
will find the last occurrence of the substringsearchfor
.
What did I learn from it:
- Using functions in C.
- Using Strings and string format in C.
- Defining integer constants in C.