Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About ownerdraw Pin
whiteclouds22-Jun-07 16:51
whiteclouds22-Jun-07 16:51 
GeneralRe: About ownerdraw Pin
Hamid_RT22-Jun-07 22:32
Hamid_RT22-Jun-07 22:32 
GeneralRe: About ownerdraw Pin
whiteclouds25-Jun-07 15:39
whiteclouds25-Jun-07 15:39 
GeneralRe: About ownerdraw Pin
Hamid_RT25-Jun-07 19:57
Hamid_RT25-Jun-07 19:57 
GeneralRe: About ownerdraw Pin
whiteclouds22-Jun-07 2:47
whiteclouds22-Jun-07 2:47 
GeneralRe: About ownerdraw Pin
Hamid_RT22-Jun-07 4:45
Hamid_RT22-Jun-07 4:45 
JokeRe: About ownerdraw Pin
whiteclouds22-Jun-07 16:49
whiteclouds22-Jun-07 16:49 
QuestionString to integer array algorithm Pin
Llasus20-Jun-07 16:09
Llasus20-Jun-07 16:09 
Hello there!
I am currently doing a code of reading a file where its format is like the one below:
9 10 0 115 30 2 1
1 7 255 73 8

its basically number1.space.number2.space.numbern.newline repeated over and over.
Currently in my code, I assign this to a CString and use .Find() then .Mid to get each integer then convert it with atoi and assign it to an integer array element. I would just like to know if there is a faster way of doing this since there is a possibility of the file being around 20 or so MB, which is really really slow with my current algorithm right now.
Anyway, hope to hear your suggestions. Thanks a lot!
AnswerRe: String to integer array algorithm Pin
_anil_20-Jun-07 18:51
_anil_20-Jun-07 18:51 
GeneralRe: String to integer array algorithm Pin
Llasus20-Jun-07 19:09
Llasus20-Jun-07 19:09 
AnswerRe: String to integer array algorithm Pin
Stephen Hewitt20-Jun-07 20:42
Stephen Hewitt20-Jun-07 20:42 
GeneralRe: String to integer array algorithm Pin
_anil_20-Jun-07 20:46
_anil_20-Jun-07 20:46 
GeneralRe: String to integer array algorithm Pin
Llasus21-Jun-07 13:39
Llasus21-Jun-07 13:39 
GeneralMFC Bitmap Help [modified] Pin
dipen.rana20-Jun-07 11:33
dipen.rana20-Jun-07 11:33 
GeneralRe: MFC Bitmap Help Pin
Christian Graus20-Jun-07 11:46
protectorChristian Graus20-Jun-07 11:46 
GeneralRe: MFC Bitmap Help Pin
Mark Salsbery20-Jun-07 12:04
Mark Salsbery20-Jun-07 12:04 
GeneralRe: MFC Bitmap Help Pin
Hamid_RT20-Jun-07 18:42
Hamid_RT20-Jun-07 18:42 
GeneralRe: MFC Bitmap Help Pin
Mark Salsbery21-Jun-07 5:19
Mark Salsbery21-Jun-07 5:19 
GeneralRe: MFC Bitmap Help Pin
Hamid_RT21-Jun-07 19:43
Hamid_RT21-Jun-07 19:43 
GeneralRe: MFC Bitmap Help Pin
dipen.rana25-Jun-07 5:43
dipen.rana25-Jun-07 5:43 
GeneralRe: MFC Bitmap Help Pin
Mark Salsbery25-Jun-07 7:40
Mark Salsbery25-Jun-07 7:40 
GeneralRe: MFC Bitmap Help Pin
dipen.rana25-Jun-07 8:45
dipen.rana25-Jun-07 8:45 
GeneralRe: MFC Bitmap Help Pin
Mark Salsbery25-Jun-07 13:49
Mark Salsbery25-Jun-07 13:49 
GeneralRe: MFC Bitmap Help Pin
dipen.rana2-Jul-07 10:00
dipen.rana2-Jul-07 10:00 
QuestionOptimizing floating-point calculation performance with 64-bit applications? Pin
Cyrilix20-Jun-07 11:16
Cyrilix20-Jun-07 11:16 

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.