Click here to Skip to main content
15,898,819 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Show struct contents in Notepad Pin
RajiRaghu4-Jun-06 20:00
RajiRaghu4-Jun-06 20:00 
GeneralRe: Show struct contents in Notepad Pin
ThatsAlok4-Jun-06 20:38
ThatsAlok4-Jun-06 20:38 
GeneralRe: Show struct contents in Notepad Pin
FarPointer4-Jun-06 20:59
FarPointer4-Jun-06 20:59 
GeneralRe: Show struct contents in Notepad Pin
RajiRaghu4-Jun-06 21:47
RajiRaghu4-Jun-06 21:47 
GeneralRe: Show struct contents in Notepad Pin
ThatsAlok4-Jun-06 22:11
ThatsAlok4-Jun-06 22:11 
GeneralRe: Show struct contents in Notepad Pin
Hamid_RT4-Jun-06 22:17
Hamid_RT4-Jun-06 22:17 
GeneralRe: Show struct contents in Notepad Pin
RajiRaghu4-Jun-06 22:56
RajiRaghu4-Jun-06 22:56 
AnswerRe: Show struct contents in Notepad Pin
_AnsHUMAN_ 4-Jun-06 20:38
_AnsHUMAN_ 4-Jun-06 20:38 
QuestionEvent Viewer Pin
ashokvishnu4-Jun-06 19:26
ashokvishnu4-Jun-06 19:26 
AnswerRe: Event Viewer Pin
Anilkumar K V5-Jun-06 0:40
Anilkumar K V5-Jun-06 0:40 
GeneralRe: Event Viewer Pin
ashokvishnu5-Jun-06 1:09
ashokvishnu5-Jun-06 1:09 
AnswerRe: Event Viewer Pin
Blake Miller6-Jun-06 5:16
Blake Miller6-Jun-06 5:16 
QuestionSignificance of MFC/.NET Pin
Nattack4-Jun-06 18:18
Nattack4-Jun-06 18:18 
AnswerRe: Significance of MFC/.NET [modified] Pin
_AnsHUMAN_ 4-Jun-06 19:28
_AnsHUMAN_ 4-Jun-06 19:28 
GeneralRe: Significance of MFC/.NET [modified] Pin
Tara144-Jun-06 22:05
Tara144-Jun-06 22:05 
GeneralRe: Significance of MFC/.NET [modified] Pin
_AnsHUMAN_ 4-Jun-06 22:12
_AnsHUMAN_ 4-Jun-06 22:12 
GeneralRe: Significance of MFC/.NET [modified] Pin
Tara144-Jun-06 22:16
Tara144-Jun-06 22:16 
QuestionHelp Needed! Pin
fury 844-Jun-06 17:00
fury 844-Jun-06 17:00 
AnswerRe: Help Needed! [modified] Pin
bob169724-Jun-06 17:21
bob169724-Jun-06 17:21 
AnswerRe: Help Needed! Pin
Christian Graus4-Jun-06 18:05
protectorChristian Graus4-Jun-06 18:05 
AnswerRe: Help Needed! Pin
ThatsAlok4-Jun-06 18:48
ThatsAlok4-Jun-06 18:48 
fury 84 wrote:
I am working on a win32 program that requires users to create user names with passwords and log in. I assume that I need to create a file with user information and then read from it when the user tries to log in but have no idea how to go about doing so. Any help would be much appreciated. Thanks.

 Simplest Way to do so, is by using INI files! i.e. INI file is based on section, key and data, though it provide absolute security to your application, but for beginner level it will be easy go

 try to create you INI structure some thing like this
 [USERS]
  // based on number of user there will be USERn section (n is no of user)
 noofuser=2 
  
 [USER1]
 username=alok
 password=alok
 [USER2]
 username=fury
 password=fury

using this structure you can easily add user to your Application, without modifying application. here is list of ini wrapper class
http://www.codeproject.com/cpp/CIni.asp[^]


"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
GeneralRe: Help Needed! Pin
Tara145-Jun-06 1:44
Tara145-Jun-06 1:44 
GeneralRe: Help Needed! Pin
ThatsAlok5-Jun-06 1:48
ThatsAlok5-Jun-06 1:48 
GeneralRe: Help Needed! Pin
Tara145-Jun-06 1:55
Tara145-Jun-06 1:55 
GeneralRe: Help Needed! Pin
ThatsAlok5-Jun-06 1:58
ThatsAlok5-Jun-06 1:58 

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.