Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

C++ #include iostream using namespace std; int main() { char theString[ 81 ]; cout "Welcome to Custom C string Functions."endl; cout"Enter a...

C++

#include <iostream>

using namespace std;

int main()

{

 char theString[ 81 ];

 cout<< "Welcome to Custom C string Functions."<<endl;

 cout<<"Enter a string of three or more words:";

  return 0;

}

1. Step 1

String Functions in C

You guys must be aware of string

functions in C, which might span these:

strlen, strcpy, strncpy, strchr,

strrchr, strstr, strcmp and strcat.

This week you will write he's own

version of some of these string functions.

You cannot use the built in string functions.

2. Step 2

Play with Words

Given the string from the previous step,

now parse each word in the string and

print it on a line by itself.

Check if your code can display the all the words in your string.

step 3: Sort the words

Same as the previous step, except

now display those words in ASCII table order

For the sample input:

Remember you are unique, just like everyone else

The output should now be:

Remember

are

else

everyone

just

like

unique,

you

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question