Click here to Skip to main content
15,881,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Any Example in MFC Pin
Maximilien4-May-09 0:52
Maximilien4-May-09 0:52 
QuestionCan VB EXE Project have share memory with VC++ EXE Pin
manoharbalu3-May-09 18:41
manoharbalu3-May-09 18:41 
AnswerRe: Can VB EXE Project have share memory with VC++ EXE Pin
«_Superman_»3-May-09 18:53
professional«_Superman_»3-May-09 18:53 
AnswerRe: Can VB EXE Project have share memory with VC++ EXE Pin
Randor 4-May-09 15:03
professional Randor 4-May-09 15:03 
QuestionVC++ v6 Class Wizard Errors trying to add class... help!!! Pin
PBrama3-May-09 15:52
PBrama3-May-09 15:52 
AnswerRe: VC++ v6 Class Wizard Errors trying to add class... help!!! Pin
David Crow3-May-09 16:27
David Crow3-May-09 16:27 
GeneralRe: VC++ v6 Class Wizard Errors trying to add class... help!!! Pin
PBrama3-May-09 16:46
PBrama3-May-09 16:46 
Questionis there any decryption algorithm that uses a dictionary to decrypyt an encrypted file? Pin
Ha lee3-May-09 14:45
Ha lee3-May-09 14:45 
well I have been working on an assigment and it states::

A program has to be developed, and coded in C language, to decipher a document written
in Italian that is encoded using a secret key. The secret key is obtained as random
permutation of all the uppercase letters, lowercase letters, numbers and blank space. As
an example, let us consider the following two strings:
Plain: “ABCDEFGHIJKLMNOPQRSTUVXWYZabcdefghijklmnopqrstuvwxyz0123456789 ”
Code: “BZJ9y0KePWopxYkQlRjhzsaNTFAtM7H6S24fC5mcIgXbnLOq8Uid 3EDv1ruVGw”
The secret key modifies only letters, numbers, and spaces of the original document, while
the remaining characters are left unchanged. The document is stored in a text file whose
length is unknown.
The program has to read the document, find the secret key (which by definition is
unknown; the above table is just an example and it is not the key used for preparing the
sample files available on the web course) using a suitable decoding algorithm, and write
the decoded document to a new text file.

And I know that I have to upload an English dictionary into the program but I don't why it has been asked.(may be not in that statement but I have to dO THAT). My question is , while I can do that program using simple encryption/decryption algorithm then what's the use of uploading the english dictionary in our program? So is there any decryption algorithm that uses a dictionary to decrypt an encrypted file? or can somebody tell me what approach or algorithm should I use to solve that problem???

An early reply (and also authentic one) will be highly appreciated from you.

Thank you guys.
AnswerRe: is there any decryption algorithm that uses a dictionary to decrypyt an encrypted file? Pin
Member 41945933-May-09 17:59
Member 41945933-May-09 17:59 
GeneralRe: is there any decryption algorithm that uses a dictionary to decrypyt an encrypted file? Pin
Ha lee4-May-09 11:09
Ha lee4-May-09 11:09 
GeneralRe: is there any decryption algorithm that uses a dictionary to decrypyt an encrypted file? Pin
Member 41945934-May-09 13:24
Member 41945934-May-09 13:24 
GeneralRe: is there any decryption algorithm that uses a dictionary to decrypyt an encrypted file? Pin
Niklas L5-May-09 3:49
Niklas L5-May-09 3:49 
QuestionStrings Pin
bawratri3-May-09 11:47
bawratri3-May-09 11:47 
AnswerRe: Strings Pin
Joe Woodbury3-May-09 14:08
professionalJoe Woodbury3-May-09 14:08 
GeneralRe: Strings Pin
bawratri4-May-09 2:36
bawratri4-May-09 2:36 
QuestionWhat is The Font??? For the Bottomless RicheditCtrl ??? Pin
ForNow3-May-09 9:03
ForNow3-May-09 9:03 
AnswerRe: What is The Font??? For the Bottomless RicheditCtrl ??? Pin
Randor 3-May-09 17:11
professional Randor 3-May-09 17:11 
GeneralRe: What is The Font??? For the Bottomless RicheditCtrl ??? Pin
ForNow3-May-09 22:58
ForNow3-May-09 22:58 
QuestionChanging FONT of CommandBar.MenuBar buttons in Windows Mobile Pin
Tili3-May-09 7:41
Tili3-May-09 7:41 
QuestionHow to create a CMFCListView that would replace the CListView that currently is not able to use new CMFCListCtrl Pin
Sorin Sbarnea3-May-09 7:08
Sorin Sbarnea3-May-09 7:08 
Questionvisual studio 2005 configuration Pin
Danzy833-May-09 4:03
Danzy833-May-09 4:03 
AnswerRe: visual studio 2005 configuration [modified] Pin
NeoAks0073-May-09 5:07
NeoAks0073-May-09 5:07 
GeneralRe: visual studio 2005 configuration Pin
Danzy833-May-09 6:57
Danzy833-May-09 6:57 
GeneralRe: visual studio 2005 configuration Pin
Cedric Moonen3-May-09 7:24
Cedric Moonen3-May-09 7:24 
Questiongenerate a file after specific time Pin
saif jee3-May-09 3:34
saif jee3-May-09 3:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.