Click here to Skip to main content
16,004,924 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to modify LPCTSTR contet? Pin
Stephen Hewitt15-Sep-06 1:27
Stephen Hewitt15-Sep-06 1:27 
GeneralRe: How to modify LPCTSTR contet? Pin
Nibu babu thomas15-Sep-06 1:42
Nibu babu thomas15-Sep-06 1:42 
GeneralRe: How to modify LPCTSTR contet? Pin
bosfan15-Sep-06 3:04
bosfan15-Sep-06 3:04 
GeneralRe: How to modify LPCTSTR contet? Pin
Stephen Hewitt16-Sep-06 1:28
Stephen Hewitt16-Sep-06 1:28 
AnswerRe: How to modify LPCTSTR content? Pin
bosfan15-Sep-06 2:04
bosfan15-Sep-06 2:04 
GeneralRe: How to modify LPCTSTR content? Pin
Zac Howland15-Sep-06 3:51
Zac Howland15-Sep-06 3:51 
GeneralRe: How to modify LPCTSTR content? Pin
bosfan15-Sep-06 6:54
bosfan15-Sep-06 6:54 
GeneralRe: How to modify LPCTSTR content? Pin
Zac Howland15-Sep-06 9:08
Zac Howland15-Sep-06 9:08 
Consider using OpenFile or ofstream to open the file instead of fopen. Also, if you use ofstream, you can use the string class instead of CString. It has similar functions to CString, and you also gain the ability to use some of the more complex STL algorithms if you need them.

I'm assuming this is an actual file you are opening (that is, it isn't a serial port) so if you wanted to, you could easily load the entire file into memory to parse it.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

QuestionDisplaying continous values Pin
Pratheep Kenny14-Sep-06 22:56
Pratheep Kenny14-Sep-06 22:56 
AnswerRe: Displaying continous values Pin
Rinu_Raj14-Sep-06 23:01
Rinu_Raj14-Sep-06 23:01 
QuestionProblem with fonts in DC ? Pin
Vinod Sankaranarayanan14-Sep-06 22:49
Vinod Sankaranarayanan14-Sep-06 22:49 
AnswerRe: Problem with fonts in DC ? Pin
kk.tvm14-Sep-06 22:52
kk.tvm14-Sep-06 22:52 
AnswerRe: Problem with fonts in DC ? Pin
Steve S14-Sep-06 22:52
Steve S14-Sep-06 22:52 
AnswerRe: Problem with fonts in DC ? Pin
Hamid_RT15-Sep-06 7:26
Hamid_RT15-Sep-06 7:26 
QuestionLinking Error when use Class Template in VC6 [modified] Pin
Andy Rama14-Sep-06 20:42
Andy Rama14-Sep-06 20:42 
AnswerRe: Linking Error when use Class Template in VC6 [modified] Pin
Mr.Brainley14-Sep-06 21:48
Mr.Brainley14-Sep-06 21:48 
AnswerRe: Linking Error when use Class Template in VC6 Pin
Nibu babu thomas14-Sep-06 21:56
Nibu babu thomas14-Sep-06 21:56 
GeneralRe: Linking Error when use Class Template in VC6 Pin
Andy Rama14-Sep-06 22:09
Andy Rama14-Sep-06 22:09 
GeneralRe: Linking Error when use Class Template in VC6 Pin
Nibu babu thomas14-Sep-06 22:19
Nibu babu thomas14-Sep-06 22:19 
GeneralRe: Linking Error when use Class Template in VC6 Pin
Andy Rama14-Sep-06 22:44
Andy Rama14-Sep-06 22:44 
GeneralRe: Linking Error when use Class Template in VC6 Pin
Nibu babu thomas14-Sep-06 22:46
Nibu babu thomas14-Sep-06 22:46 
QuestionHow to dynamically change the toolbar tip in MFC? Pin
ziyoo14-Sep-06 20:41
ziyoo14-Sep-06 20:41 
AnswerRe: How to dynamically change the toolbar tip in MFC? Pin
ziyoo15-Sep-06 15:30
ziyoo15-Sep-06 15:30 
Questionimages problem Pin
radhika2814-Sep-06 20:08
radhika2814-Sep-06 20:08 
AnswerRe: images problem Pin
_AnsHUMAN_ 14-Sep-06 20:21
_AnsHUMAN_ 14-Sep-06 20: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.