in pset2 --> vigener.c I wonder why if my program is printing correctly 3/4 of the cases tested by check50, check50 still mark them as wrong. HAVE A LOOK TO THE PHOTO (both photos have same info but different arrangement for readability). On the other hand, the case "world, say hello!", is printing all characters well encrypted but the word "say". DOES ANYBODY KNOWS WHY ARE THESE TWO THINGS HAPPENING? Thanks in advancemy vigenere.c vs check50

  • Without seeing any of your code, it's almost impossible to know. Are you using something other than printf to print your output? Are you using an unusual library that check50 doesn't access? What are the includes in your code? Perhaps you can post pseudocode along with the output sections of the code.
    – Cliff B
    Jun 19 '15 at 2:24
  • The encoding seems to work for me. You specify the codeword "baz" and so it offsets the characters by "1,0,23,...,1,0,23". For the word "say", the program offsets the characters by "0,23,1", just as it should, since the pattern doesn't "restart" for every word.
    – skreborn
    Jun 19 '15 at 14:00
  • I am having the exact same problem. Has there still not been an answer to this? This is really frustrating
    – Vince
    Aug 22 '15 at 17:39

You must log in to answer this question.

Browse other questions tagged .