Click here to Skip to main content
15,888,802 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: atof() losing precision Pin
Llasus11-Dec-07 21:07
Llasus11-Dec-07 21:07 
GeneralRe: atof() losing precision Pin
Cedric Moonen11-Dec-07 21:13
Cedric Moonen11-Dec-07 21:13 
GeneralFiles related Pin
rajanponnalagu11-Dec-07 19:35
rajanponnalagu11-Dec-07 19:35 
GeneralRe: Files related Pin
Llasus11-Dec-07 20:45
Llasus11-Dec-07 20:45 
GeneralRe: Files related Pin
rajanponnalagu11-Dec-07 21:21
rajanponnalagu11-Dec-07 21:21 
GeneralRe: Files related Pin
Sunil Shindekar11-Dec-07 23:38
Sunil Shindekar11-Dec-07 23:38 
GeneralRe: Files related Pin
rajanponnalagu12-Dec-07 1:08
rajanponnalagu12-Dec-07 1:08 
GeneralRe: Files related Pin
Iain Clarke, Warrior Programmer12-Dec-07 1:57
Iain Clarke, Warrior Programmer12-Dec-07 1:57 
If you use the debugger at that function to save the two files, I bet you get...
m_User = "user" and m_Pass = "pass" (I can't see your original code)

And then your text file will be....

userpass

with no way of know where one starts, and the other finishes...

Instead of CString, try using a fixed character array, and then saving that out. It will be much easier when you load it. It will have the restriction of only being able to have user names and passwords of a certain length, so don't make it too short!

Iain.
GeneralRe: Files related Pin
Sunil Shindekar12-Dec-07 19:59
Sunil Shindekar12-Dec-07 19:59 
GeneralRe: Files related Pin
David Crow13-Dec-07 5:11
David Crow13-Dec-07 5:11 
QuestionRe: Files related Pin
David Crow13-Dec-07 5:13
David Crow13-Dec-07 5:13 
GeneralRe: Files related Pin
Paresh Chitte11-Dec-07 21:30
Paresh Chitte11-Dec-07 21:30 
GeneralRe: Files related Pin
rajanponnalagu11-Dec-07 22:21
rajanponnalagu11-Dec-07 22:21 
QuestionEdit subitem in ListView ? Pin
nitin311-Dec-07 19:29
nitin311-Dec-07 19:29 
AnswerRe: Edit subitem in ListView ? Pin
Llasus11-Dec-07 20:46
Llasus11-Dec-07 20:46 
AnswerRe: Edit subitem in ListView ? Pin
Naveen11-Dec-07 20:59
Naveen11-Dec-07 20:59 
Generalcommand line for "Extract ALL" Pin
Abhi Lahare11-Dec-07 19:04
Abhi Lahare11-Dec-07 19:04 
GeneralRe: command line for "Extract ALL" Pin
toxcct11-Dec-07 23:53
toxcct11-Dec-07 23:53 
Generalpassing the value Pin
Chandrasekharan P11-Dec-07 18:38
Chandrasekharan P11-Dec-07 18:38 
GeneralRe: passing the value Pin
_AnsHUMAN_ 11-Dec-07 18:52
_AnsHUMAN_ 11-Dec-07 18:52 
GeneralRe: passing the value Pin
Chandrasekharan P11-Dec-07 19:03
Chandrasekharan P11-Dec-07 19:03 
GeneralRe: passing the value Pin
_AnsHUMAN_ 11-Dec-07 19:10
_AnsHUMAN_ 11-Dec-07 19:10 
GeneralRe: passing the value Pin
Chandrasekharan P11-Dec-07 23:28
Chandrasekharan P11-Dec-07 23:28 
GeneralRe: passing the value Pin
toxcct11-Dec-07 23:52
toxcct11-Dec-07 23:52 
GeneralBits Pin
john563211-Dec-07 18:21
john563211-Dec-07 18:21 

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.