English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

ok i think i have most of it figured out now, but theres a problem
void encrypt(char letter){
cout<<"Enter a message to encrypt"< cin>>letter;
while (letter!='!'){
if (letter=='k') cout<<"1 ";
26 more if statements after that.
I need to change encrypt (char) into encrypt (int) and i dont know how to do that

2007-02-26 17:09:46 · 1 answers · asked by Alex P 2 in Computers & Internet Programming & Design

1 answers

Try to do the rest of the way yourself, here's a tip: casting types;

char letter = (char)passedint;

2007-02-26 17:18:01 · answer #1 · answered by Andy T 7 · 0 0

fedest.com, questions and answers