7.9 Lab 7: C Strings
We have been studying C string functions, and in class wereviewed these: strlen, strcpy, strncpy, strchr,strrchr, strstr,strcmp, strcat This week you will write your own version of some ofthese string functions.
**Important:
Specifically you will write one function each for the belowstages. Running the program would look like:
Stage 1: Write the myStrlen() function so thatit returns the length of the any given string
Stage 2: Write a function removeVowels()such that it removes all the vowels in the word entered by the userand returns a vowel-less word.
Stage 3: Write a functionduplicateString() such that it duplicates the string of vowel-lesswords some number of times.
7.9 Lab 7: C Strings We have been studying C string functions, and in class we reviewed these: strlen, strcpy, strncpy,
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am