Help with String Encryption Class

Written by


I really need help with this programming challenge that I have to do. I have no idea what to do, if someone could get me started on the right path, I would greatly appreciate it.

Here are my instructions:

Write a class EncryptableString that is derived from the STL string class. The EncryptableString 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.

I don’t know what the STL string class is, nor do I know how to encrypt a string by modifying it via ASCII characters.

Go here to read the rest:
Help with String Encryption Class

Related posts:

  1. Another Encryption Problem Well ive done some more research and have made...
  2. Encryption Program Problem Having trouble with this code that resembles a Caesar...
  3. Need help with a mountain cipher encryption program I am working on an encryption program that basically...
  4. Help! Caesar Cipher Encrypt/Decrypt Assignment Got this problem in one of my summer classes...
  5. Using AES Encryption can anyone help me finding a reference guide on...

Related posts brought to you by Yet Another Related Posts Plugin.

Sep
20

Leave a Reply