Originally Posted by
vanek26goal
Itsme86 -This is what I had in mind. Is there any way it could be just a little longer? ..and have her "crack" it if you know what I mean. I'm sorry that I am so lost when it comes to this...
You could do something like this:
Code:
#include <iostream>
int main()
{
char letters[] = " beilmnouwy";
int order[] = { 9, 3, 4, 4, 0, 10, 7, 8, 0, 1, 2, 0, 5, 3, 6, 2 };
for(int i = 0;i < sizeof(order) / sizeof(*order);++i)
std::cout << letters[order[i]];
std::cout << std::endl;
return 0;
}
Should spit out: will you be mine