Basically I have to write a decryption program that reads in text from a .txt file, decrypts it, and outputs it to a new .txt file. I am having trouble getting it started.
That is currently what my code looks like, and I am getting an error when trying to compile it. The code isn't complete but I am trying to take it one step at a time. When compiling, I get
1 2
decrypt.cpp: In function ‘void key(char*)’:
decrypt.cpp:41:42: error: invalid conversion from ‘void*’ to ‘char’
I figure this is a problem with my array, so can anyone tell me what that error means? I have searched and found similar problems, but I don't really understand how they are fixed, as they are coded differently than I am being taught.