Click here to Skip to main content
15,868,164 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: dynamic class instantiation in c++? Pin
Giles28-Jul-05 7:04
Giles28-Jul-05 7:04 
GeneralRe: dynamic class instantiation in c++? Pin
ThinkingPrometheus2-Aug-05 2:37
ThinkingPrometheus2-Aug-05 2:37 
GeneralCListView usage Pin
B.R.Singh28-Jul-05 1:19
B.R.Singh28-Jul-05 1:19 
GeneralRe: CListView usage Pin
Mohammed F. Salem28-Jul-05 4:26
Mohammed F. Salem28-Jul-05 4:26 
GeneralRe: CListView usage Pin
David Crow28-Jul-05 5:11
David Crow28-Jul-05 5:11 
General,CListView Usage Pin
B.R.Singh28-Jul-05 1:14
B.R.Singh28-Jul-05 1:14 
GeneralLooking for an advice about password authentication Pin
Halawlaws28-Jul-05 1:07
Halawlaws28-Jul-05 1:07 
GeneralRe: Looking for an advice about password authentication Pin
mark novak28-Jul-05 4:45
mark novak28-Jul-05 4:45 
Do it Unix style using 1 way encryption or hashing. There are plenty of sites there that can offer detailed descriptions of how it works but basically it's like this. You take the password and hash it using something like MD5 or SHA-1, then you store that password in plaintext. Then when you want to authenticate your user in the program, you ask for the password, you take that password and hash it and then compare that hash with the stored hash, if they match, then it's probably the right password and you let them in. This should be pretty good, you can add "salting" or a random string to the password if you want to prevent precompiled dictionary attacks...

Take a look at http://www.codeproject.com/cpp/csha1.asp
[^]
QuestionIs there a #define for Multi-Threading? Pin
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 1:02
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 1:02 
AnswerRe: Is there a #define for Multi-Threading? Pin
berndg28-Jul-05 2:15
berndg28-Jul-05 2:15 
GeneralRe: Is there a #define for Multi-Threading? Pin
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 4:21
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 4:21 
GeneralRe: Is there a #define for Multi-Threading? Pin
berndg28-Jul-05 4:27
berndg28-Jul-05 4:27 
AnswerRe: Is there a #define for Multi-Threading? Pin
Blake Miller28-Jul-05 5:09
Blake Miller28-Jul-05 5:09 
GeneralRe: Is there a #define for Multi-Threading? Pin
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 5:19
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX28-Jul-05 5:19 
AnswerRe: Is there a #define for Multi-Threading? Pin
Bob Stanneveld28-Jul-05 5:22
Bob Stanneveld28-Jul-05 5:22 
AnswerRe: Is there a #define for Multi-Threading? Pin
Alexander M.,28-Jul-05 8:53
Alexander M.,28-Jul-05 8:53 
QuestionTool to generate API doc spec? Pin
huutribk200128-Jul-05 0:09
huutribk200128-Jul-05 0:09 
AnswerRe: Tool to generate API doc spec? Pin
mark novak28-Jul-05 0:30
mark novak28-Jul-05 0:30 
AnswerRe: Tool to generate API doc spec? Pin
Marc Soleda28-Jul-05 0:30
Marc Soleda28-Jul-05 0:30 
AnswerRe: Tool to generate API doc spec? Pin
Ravi Bhavnani28-Jul-05 1:37
professionalRavi Bhavnani28-Jul-05 1:37 
AnswerRe: Tool to generate API doc spec? Pin
huutribk200128-Jul-05 22:28
huutribk200128-Jul-05 22:28 
Generalc++ Pin
Nishad S28-Jul-05 0:03
Nishad S28-Jul-05 0:03 
GeneralRe: c++ Pin
Mohammed F. Salem28-Jul-05 0:12
Mohammed F. Salem28-Jul-05 0:12 
GeneralRe: c++ Pin
toxcct28-Jul-05 0:39
toxcct28-Jul-05 0:39 
GeneralRe: c++ Pin
Ravi Bhavnani28-Jul-05 1:39
professionalRavi Bhavnani28-Jul-05 1:39 

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.