Ceaser Cipher

This is a discussion on Ceaser Cipher within the C++ Programming forums, part of the General Programming Boards category; >>I don't know what 0x00 means A Hex 0 byte, or

Thread: Ceaser Cipher

, or nul. Sorry, many names, same thing In ...

  1. #16
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >>I don't know what 0x00 means
    A Hex 0 byte, or \0, or nul. Sorry, many names, same thing In other words, the byte that terminates the string.

    >>it's rather odd but that's my job.
    Nothing odd about it

    >>I know its C-style , just i wanted to help
    I know, I just didn't want Cheesy to starting worrying about new things.

    Cheesy, can you post a small sample of the input file?
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  2. #17
    The Pantless Man CheesyMoo's Avatar
    Join Date
    Jan 2003
    Posts
    262
    Okay the input is suppsoed to be UHWXUQWRURPH which is RETURNTOROME when decoded... I don't know how to really make it support both cases, so I was just thinking change the string to all caps and then change it but... I dunno.

  3. #18
    The Pantless Man CheesyMoo's Avatar
    Join Date
    Jan 2003
    Posts
    262
    Okay I get what you mean about the 0x00 character, but I changed the for loop so it only reads the first 12 characters, leaving the null character out... does that work? Also where do you get the perror function/whatever it is? I mean like libraries...

  4. #19
    The Pantless Man CheesyMoo's Avatar
    Join Date
    Jan 2003
    Posts
    262
    Okay thanks for all the help guys, I finished the program and it works! I'm glad I think it might be late because I'm a procrastinator(spelling?)... well anyways thanks!

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help with ceaser cipher , and charcater counting
    By princeyeni in forum C Programming
    Replies: 2
    Last Post: 06-18-2009, 09:36 AM
  2. Simple Cipher Program
    By PunchOut in forum C Programming
    Replies: 7
    Last Post: 11-22-2008, 01:12 PM
  3. Replies: 16
    Last Post: 11-23-2007, 01:48 PM
  4. About aes
    By gumit in forum C Programming
    Replies: 13
    Last Post: 10-24-2006, 04:42 PM
  5. My little Caesar cipher emulator
    By dead_cell in forum C++ Programming
    Replies: 3
    Last Post: 01-16-2004, 01:05 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21