Click here to Skip to main content
15,879,096 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problems with CComboBox and WS_VSCROLL on Windows 7 Pin
hollesser00113-Nov-09 7:06
hollesser00113-Nov-09 7:06 
QuestionCrowd detection, how to? [moved to Algorithms] Pin
Gamma_ace12-Nov-09 6:43
Gamma_ace12-Nov-09 6:43 
AnswerRe: Crowd detection, how to? Pin
CPallini12-Nov-09 10:37
mveCPallini12-Nov-09 10:37 
GeneralRe: Crowd detection, how to? Pin
Gamma_ace12-Nov-09 15:52
Gamma_ace12-Nov-09 15:52 
QuestionCreating an native (unmanaged) executable on the fly (at runtime) Pin
shatterstar645712-Nov-09 5:42
shatterstar645712-Nov-09 5:42 
AnswerRe: Creating an native (unmanaged) executable on the fly (at runtime) Pin
Ahmed Charfeddine12-Nov-09 5:51
Ahmed Charfeddine12-Nov-09 5:51 
GeneralRe: Creating an native (unmanaged) executable on the fly (at runtime) Pin
Ahmed Charfeddine12-Nov-09 6:06
Ahmed Charfeddine12-Nov-09 6:06 
QuestionPlease Help me out on this question? Pin
puvancooldude12-Nov-09 3:58
puvancooldude12-Nov-09 3:58 
This question needs to use of OOP methodology in implementing a simple data encryption/decryption technique. The encryption technique will use the X-OR bitwise operator (^) and a random generator. Your program should first obtain a message up to 80 characters long from the user and then encrypt the message. It should then offer the user an option to either view the encrypted message or view the original message. The original message should be password protected – that is, the user should enter a correct password in order to view the original message. Set your password as “UECS1633”. The number of attempts to enter the password should be limited to three.

class will group all related variables and functions together. Must use the constructor and destructor functions also.constructor will be used to dynamically allocate memory and initialise class data members, while the class destructor will be used to free memory allocated by the constructor.

Sample output:

Enter a message to encrypt (up to 80 characters) => HELLO WORLD

Option:
1. View encrypted message
2. View original message
3. Exit

Enter option => 1

Message : îüêêïΣôïûêÇ

Display original message (y/n) => Y

Enter password => UECS1623
Invalid password!!! 2 attempts(s) left!!

Enter password => UECS1633

Message : HELLO WORLD

Message destroyed!!
AnswerRe: Please Help me out on this question? Pin
Cedric Moonen12-Nov-09 4:01
Cedric Moonen12-Nov-09 4:01 
AnswerRe: Please Help me out on this question? Pin
puvancooldude12-Nov-09 4:21
puvancooldude12-Nov-09 4:21 
GeneralRe: Please Help me out on this question? Pin
Michael Schubert12-Nov-09 4:59
Michael Schubert12-Nov-09 4:59 
AnswerRe: Please Help me out on this question? Pin
puvancooldude12-Nov-09 5:21
puvancooldude12-Nov-09 5:21 
GeneralRe: Please Help me out on this question? Pin
David Crow12-Nov-09 5:32
David Crow12-Nov-09 5:32 
GeneralRe: Please Help me out on this question? Pin
Maximilien12-Nov-09 5:02
Maximilien12-Nov-09 5:02 
GeneralRe: Please Help me out on this question? Pin
puvancooldude12-Nov-09 5:19
puvancooldude12-Nov-09 5:19 
GeneralRe: Please Help me out on this question? Pin
Richard MacCutchan12-Nov-09 5:33
mveRichard MacCutchan12-Nov-09 5:33 
AnswerRe: Please Help me out on this question? Pin
puvancooldude12-Nov-09 5:36
puvancooldude12-Nov-09 5:36 
GeneralRe: Please Help me out on this question? Pin
Richard MacCutchan12-Nov-09 6:24
mveRichard MacCutchan12-Nov-09 6:24 
QuestionHow many counts that the simple C++ code will call the Construction/Destruction ? Pin
wangningyu12-Nov-09 3:04
wangningyu12-Nov-09 3:04 
AnswerRe: How many counts that the simple C++ code will call the Construction/Destruction ? [modified] Pin
Cedric Moonen12-Nov-09 3:12
Cedric Moonen12-Nov-09 3:12 
GeneralRe: Thanks ! Pin
wangningyu12-Nov-09 3:15
wangningyu12-Nov-09 3:15 
GeneralOT- Damn... Pin
CPallini12-Nov-09 3:20
mveCPallini12-Nov-09 3:20 
GeneralRe: OT- Damn... Pin
Cedric Moonen12-Nov-09 3:22
Cedric Moonen12-Nov-09 3:22 
GeneralRe: Pin
wangningyu12-Nov-09 3:31
wangningyu12-Nov-09 3:31 
AnswerRe: How many counts that the simple C++ code will call the Construction/Destruction ? Pin
CPallini12-Nov-09 3:17
mveCPallini12-Nov-09 3:17 

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.