Click here to Skip to main content
15,922,427 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionBlack and white color palette Pin
cathy_d'souza5-Jun-06 23:06
cathy_d'souza5-Jun-06 23:06 
AnswerRe: Black and white color palette Pin
_AnsHUMAN_ 6-Jun-06 0:10
_AnsHUMAN_ 6-Jun-06 0:10 
GeneralRe: Black and white color palette Pin
cathy_d'souza6-Jun-06 0:29
cathy_d'souza6-Jun-06 0:29 
QuestionOCR Pin
Abhishek Joshi5-Jun-06 22:46
Abhishek Joshi5-Jun-06 22:46 
AnswerRe: OCR Pin
ThatsAlok6-Jun-06 0:46
ThatsAlok6-Jun-06 0:46 
QuestionStandard alternative to MAX_PATH? Pin
Lord Kixdemp5-Jun-06 22:41
Lord Kixdemp5-Jun-06 22:41 
AnswerRe: Standard alternative to MAX_PATH? Pin
Laxman Auti5-Jun-06 22:49
Laxman Auti5-Jun-06 22:49 
GeneralRe: Standard alternative to MAX_PATH? Pin
Lord Kixdemp6-Jun-06 14:25
Lord Kixdemp6-Jun-06 14:25 
QuestionHelp with ADO and vc++-newbie [modified] Pin
antonaras5-Jun-06 22:39
antonaras5-Jun-06 22:39 
AnswerRe: Help with ADO and vc++-newbie [modified] Pin
2249175-Jun-06 23:08
2249175-Jun-06 23:08 
GeneralRe: Help with ADO and vc++-newbie [modified] Pin
antonaras5-Jun-06 23:15
antonaras5-Jun-06 23:15 
GeneralRe: Help with ADO and vc++-newbie [modified] Pin
2249175-Jun-06 23:26
2249175-Jun-06 23:26 
GeneralRe: Help with ADO and vc++-newbie [modified] Pin
antonaras5-Jun-06 23:46
antonaras5-Jun-06 23:46 
GeneralRe: Help with ADO and vc++-newbie [modified] Pin
2249176-Jun-06 0:11
2249176-Jun-06 0:11 
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 

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.