I am going to write a simple program in C++ for converting a simple ciphertext to plaintext using letter substitution scheme. I got the logic in a blurred manner. I have enclosed it herewith. please correct me i I am wrong. Can you also write the code for me . My complier is TC++ 4.5
Create a function called encipher()
assign characters and the cryptovariables, for eg;
char *a = "a";
char a = "z";
;
;
and assign the cryptovariables.
Then create function for decipher and then finally declare a character array and then apply the functions with apporpiate logical desicions like "A.Decipher", "B.Encipher" "C.Quit".
2006-08-04
06:40:47
·
1 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design