![]() |
| ||
| substitution cipher help Been trying to make a substitution cipher decrypter, but it isn't working especially good. so I thought I might could get some help with it. #include <iostream> |
| ||
| Re: substitution cipher help What is it supposed to do. Maybe you can give sample input, current (incorrect) output, and expected output. |
| ||
| Re: Substitution cipher help Quote:
it should be writing a possible solutions and if it's the correct then finish it of, and if it's not it shall give another suggestion, until it finds the right one. right now nothing happends, all I get is an error message saying " `width' has not been declared" it's supposed to give every letter a specific array, then convert it to numbers, then add an increasing number to the letter number, then convert it back to the letter that is the increasing number after it. and then type it out. #include <iostream> New code! |
| ||
| Re: substitution cipher help What are all those headers for? Comments would also be nice so we can see what your doing. Are you incrementing every character by one, and if the input is 'n', you increment every number again? What happens when you go past the printible character range? |
| ||
| Re: substitution cipher help Quote:
|
| All times are GMT -4. The time now is 9:59 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC