Thread: cryptogram in c

  1. #1
    Registered User
    Join Date
    May 2012
    Posts
    1

    cryptogram in c

    hi my friends..i have a lab ..now i got this question from my instructor..my time is not enough and i got confused..i need ur all help..here is the question.

    you will have to read in the code symbol for each letter.26 data values
    are read into array code for input 26 values of ABCDEFGHIJKLMNOPQRSTUVWXYZ.fr example A may correspond to W..then u ll input ur cryptedtezt from keyboard as a string.then the inputted text will be decrypted.

    im lookiing for ur replies..thnks for ur help..

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Announcements - C Programming
    This isn't a "homework on demand" service.

    Start with the basics - read in some strings and print them out.
    Then think about how encryption might transform each letter and try an idea or two.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    May 2012
    Posts
    13
    Characters are internally treated as ASCII values,find some appropriate mathematical function to be performed on each character and store the resulting character as encrypted string array

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Cryptogram troubles
    By MoonMan in forum C++ Programming
    Replies: 8
    Last Post: 02-23-2012, 11:41 PM
  2. Cryptogram
    By Govtcheez in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 09-16-2002, 08:06 AM
  3. cryptogram program
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 10-15-2001, 12:16 PM