Question: Write in c++ 6. String Encryption Write a class Encryptablestring that is derived from the STL string class. The ryptable string class adds a member

Write in c++
 Write in c++ 6. String Encryption Write a class Encryptablestring that

6. String Encryption Write a class Encryptablestring that is derived from the STL string class. The ryptable string class adds a member function void encrypt( That encrypts the string contained in the object by replacing each letter with its successor in the ASCII ordering. For example, the string baa would be encrypted to cbb. Assume that all characters that are part of an Encryptablestring object are letters a,., z and A,.., z, and that the successor of z is a and the successor of z is A. Test your class with a program that asks the user to enter strings that are then encrypted and printed

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!