string word;
cout << "type in the word you want to be decrypted >> ";
cin >> word;
char dword[] = word;
this does't work, is it because yo can't use the line
char dword[] = word;
if it is because of that then please tell me what i have to do to make it work, if it isn't because of that then please tell me what it is.
there is more code to this program, but it's just this part that isn't working.
the error messages i receive are:
initializer fails to determine size of `dword'
invalid initializer