char * cipher (how do i use)
I am trying to do this assignment for school. We were given a class that we have to use for our decryption program. I have created the program without the class first...and then i plan to adapt it to this class. The problem is I have no idea how you use it. I know it is a pointer and that it will hold only one character. Any other examples or ideas on how to use it would be appreciated. Also, I would ask my teacher...but the problem is that the teachers are on strike at the moment and there is no way to contact them.
Here is the class we were given...there are no methods in it for the moment:
If any of you could do like a little example on how to use one of them that would be great.
private: char * cipher; //encoded text
char * plain; //decoded text
int offset; //decryption key
Thanks for any help,