I understand this is an exercise so you should not expect anyone to do all the work for you. If you have minor, more specific question we might be able to help.
#include <iostream>
#include <string>
usingnamespace std;
int main()
{
string output = "Hand";
cout << "Heres your hand: " << output << endl;
cout << "And heres a pointer on how to do it right: " << &output << endl;
return 0;
}
</troll>
What type of encryption algorithm do you want to use? You could go with some simple XOR and Caesar Shifts. Here's an article on XOR: http://cplusplus.com/articles/Ly86b7Xj/
ModShop, you missed out the #include<sarcasm> header there.
Ha. I intentionally left that out to make it educational for him, to see if he could solve the error.
@jpatryan: If you want help, ask specific questions. Examples are: "What are some easy to implement encryption algorithms?", "How do I implement X algorithm?", "I tried to do X, but Y happened. What did I do wrong?". Asking people to do your entire assignment will get you nowhere.