Click here to Skip to main content
15,896,526 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help with ADO and vc++-newbie [modified] Pin
antonaras6-Jun-06 0:23
antonaras6-Jun-06 0:23 
AnswerRe: Help with ADO and vc++-newbie [modified] Pin
Viorel.5-Jun-06 23:37
Viorel.5-Jun-06 23:37 
GeneralRe: Help with ADO and vc++-newbie [modified] Pin
antonaras5-Jun-06 23:49
antonaras5-Jun-06 23:49 
QuestionRe: Help with ADO and vc++-newbie [modified] Pin
David Crow6-Jun-06 3:46
David Crow6-Jun-06 3:46 
Questiondialog box Pin
p_5-Jun-06 22:34
p_5-Jun-06 22:34 
AnswerRe: dialog box Pin
David Crow6-Jun-06 3:51
David Crow6-Jun-06 3:51 
QuestionInitHashTable()?? Pin
bosfan5-Jun-06 22:28
bosfan5-Jun-06 22:28 
AnswerRe: InitHashTable()?? Pin
Viorel.5-Jun-06 22:50
Viorel.5-Jun-06 22:50 
I think this function can be used to prepare a CMapStringToOb object before adding a known number of data. It clears the map and then can pre-allocate an internal buffer, so the next insert operation will perform faster. This function is optional, but is useful when you know how many items you will insert (the default hash-table size is fairly small -- see the source of this function).

This function is not used for sorting. By sorting the hash-table you probably mean sorting of keys. In my opinion you have to extract all of the keys from the hash-table, put them in an array (CStringArray) and sort it separately. For instance, investigate the qsort function.

If you are familiar with STL library, you can use another kind of collections and the provided sort function.
QuestionVery big problem! Pin
bosfan5-Jun-06 22:15
bosfan5-Jun-06 22:15 
AnswerRe: Very big problem! Pin
David Crow6-Jun-06 4:04
David Crow6-Jun-06 4:04 
QuestionUrgent plz! Imag transform on VC7 + result - one exe file (without libs and dlls) Pin
Diplom@t5-Jun-06 22:11
Diplom@t5-Jun-06 22:11 
QuestionRe: Urgent plz! Imag transform on VC7 + result - one exe file (without libs and dlls) Pin
Hamid_RT5-Jun-06 22:24
Hamid_RT5-Jun-06 22:24 
AnswerRe: Urgent plz! Imag transform on VC7 + result - one exe file (without libs and dlls) Pin
Laxman Auti5-Jun-06 22:41
Laxman Auti5-Jun-06 22:41 
AnswerRe: Urgent plz! Imag transform on VC7 + result - one exe file (without libs and dlls) Pin
Viorel.5-Jun-06 23:32
Viorel.5-Jun-06 23:32 
Questionchat with dialog boxes Pin
pandikumar5-Jun-06 22:10
pandikumar5-Jun-06 22:10 
AnswerRe: chat with dialog boxes Pin
Cedric Moonen5-Jun-06 22:18
Cedric Moonen5-Jun-06 22:18 
QuestionRe: chat with dialog boxes Pin
Hamid_RT5-Jun-06 22:25
Hamid_RT5-Jun-06 22:25 
NewsRe: chat with dialog boxes Pin
_AnsHUMAN_ 5-Jun-06 23:00
_AnsHUMAN_ 5-Jun-06 23:00 
Questionget packets from tcp/ip stream efficiently [modified] Pin
followait5-Jun-06 21:38
followait5-Jun-06 21:38 
Questionsomething about quick launch Pin
wanglei19805-Jun-06 21:12
wanglei19805-Jun-06 21:12 
AnswerRe: something about quick launch Pin
ThatsAlok6-Jun-06 0:59
ThatsAlok6-Jun-06 0:59 
QuestionHow to catch mouse move over ListView header Pin
Cool Ju5-Jun-06 20:59
Cool Ju5-Jun-06 20:59 
AnswerRe: How to catch mouse move over ListView header Pin
Naveen5-Jun-06 21:29
Naveen5-Jun-06 21:29 
GeneralRe: How to catch mouse move over ListView header Pin
-tusk-24-Jun-11 16:25
-tusk-24-Jun-11 16:25 
QuestionList Control How to add subcolumns within column Pin
leelac5-Jun-06 20:23
leelac5-Jun-06 20:23 

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.