Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Database implementation in VC++ Pin
Ravi00327-Jan-09 0:50
Ravi00327-Jan-09 0:50 
AnswerRe: Database implementation in VC++ Pin
Hamid_RT27-Jan-09 0:31
Hamid_RT27-Jan-09 0:31 
GeneralRe: Database implementation in VC++ Pin
Ravi00327-Jan-09 0:51
Ravi00327-Jan-09 0:51 
QuestionMemory usage Pin
Sunil P V26-Jan-09 22:46
Sunil P V26-Jan-09 22:46 
AnswerRe: Memory usage Pin
Stuart Dootson26-Jan-09 23:20
professionalStuart Dootson26-Jan-09 23:20 
AnswerRe: Memory usage Pin
Randor 27-Jan-09 11:45
professional Randor 27-Jan-09 11:45 
Questionsearching in list taking very long time Pin
VCProgrammer26-Jan-09 22:44
VCProgrammer26-Jan-09 22:44 
AnswerRe: searching in list taking very long time Pin
Stuart Dootson26-Jan-09 23:15
professionalStuart Dootson26-Jan-09 23:15 
  1. I would (pretty much always) hold the data separate from the list control (using the LVS_OWNERDATA[^] style). That way you compare data using some container (STL rather than MFC, please, for me) which will be much quicker than by putting the data in the list control.
  2. As the second column is sorted, you can search through it using a binary search[^], which the STL has built-in....although you want to use lower_bound[^] rather than the more obvious binary_search[^]


HTH!
QuestionText File Access with specific path. Pin
mac_g26-Jan-09 22:31
mac_g26-Jan-09 22:31 
AnswerRe: Text File Access with specific path. Pin
Cedric Moonen26-Jan-09 22:48
Cedric Moonen26-Jan-09 22:48 
GeneralRe: Text File Access with specific path. Pin
mac_g26-Jan-09 22:56
mac_g26-Jan-09 22:56 
GeneralRe: Text File Access with specific path. Pin
Cedric Moonen26-Jan-09 23:01
Cedric Moonen26-Jan-09 23:01 
GeneralRe: Text File Access with specific path. Pin
mac_g26-Jan-09 23:11
mac_g26-Jan-09 23:11 
GeneralRe: Text File Access with specific path. Pin
Cedric Moonen26-Jan-09 23:24
Cedric Moonen26-Jan-09 23:24 
GeneralRe: Text File Access with specific path. Pin
mac_g26-Jan-09 23:55
mac_g26-Jan-09 23:55 
GeneralRe: Text File Access with specific path. Pin
Stuart Dootson26-Jan-09 23:53
professionalStuart Dootson26-Jan-09 23:53 
GeneralRe: Text File Access with specific path. Pin
mac_g27-Jan-09 0:05
mac_g27-Jan-09 0:05 
QuestionExtract Enum value from Enum symbol String. Pin
Comp_User26-Jan-09 21:28
Comp_User26-Jan-09 21:28 
AnswerRe: Extract Enum value from Enum symbol String. Pin
Cedric Moonen26-Jan-09 22:53
Cedric Moonen26-Jan-09 22:53 
GeneralRe: Extract Enum value from Enum symbol String. Pin
Comp_Users26-Jan-09 23:06
Comp_Users26-Jan-09 23:06 
GeneralRe: Extract Enum value from Enum symbol String. Pin
Cedric Moonen26-Jan-09 23:11
Cedric Moonen26-Jan-09 23:11 
AnswerRe: Extract Enum value from Enum symbol String. Pin
Stuart Dootson26-Jan-09 23:06
professionalStuart Dootson26-Jan-09 23:06 
GeneralRe: Extract Enum value from Enum symbol String. Pin
Comp_Users27-Jan-09 0:55
Comp_Users27-Jan-09 0:55 
GeneralRe: Extract Enum value from Enum symbol String. Pin
CPallini27-Jan-09 3:27
mveCPallini27-Jan-09 3:27 
GeneralRe: Extract Enum value from Enum symbol String. Pin
Stuart Dootson27-Jan-09 5:54
professionalStuart Dootson27-Jan-09 5:54 

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.