Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Insert into map Pin
Nibu babu thomas27-Aug-08 19:38
Nibu babu thomas27-Aug-08 19:38 
GeneralRe: Insert into map Pin
George_George27-Aug-08 19:42
George_George27-Aug-08 19:42 
GeneralRe: Insert into map Pin
Nibu babu thomas27-Aug-08 19:49
Nibu babu thomas27-Aug-08 19:49 
GeneralRe: Insert into map Pin
George_George27-Aug-08 19:57
George_George27-Aug-08 19:57 
GeneralRe: Insert into map Pin
Nibu babu thomas27-Aug-08 20:21
Nibu babu thomas27-Aug-08 20:21 
GeneralRe: Insert into map Pin
George_George27-Aug-08 20:48
George_George27-Aug-08 20:48 
AnswerRe: Insert into map Pin
Jijo.Raj27-Aug-08 18:58
Jijo.Raj27-Aug-08 18:58 
GeneralRe: Insert into map Pin
George_George27-Aug-08 19:39
George_George27-Aug-08 19:39 
Thanks Jijo,


Good to know that. Previously I wrongly think we can check whether the expression mapvariable[somekey] returns null or not to check whether the element exists. Now I think I am wrong, and using find is the optimum solution to check existence, and using [] could never tell us whether we insert new pair or overwriting an old pair, all are correct understanding?


regards,
George
GeneralRe: Insert into map Pin
Jijo.Raj27-Aug-08 20:05
Jijo.Raj27-Aug-08 20:05 
GeneralRe: Insert into map Pin
George_George27-Aug-08 20:49
George_George27-Aug-08 20:49 
Questionmulity line edit control Pin
ani_ikram27-Aug-08 17:53
ani_ikram27-Aug-08 17:53 
AnswerRe: mulity line edit control Pin
Naveen27-Aug-08 18:20
Naveen27-Aug-08 18:20 
GeneralRe: mulity line edit control Pin
ani_ikram27-Aug-08 19:01
ani_ikram27-Aug-08 19:01 
QuestionRe: mulity line edit control Pin
David Crow28-Aug-08 3:59
David Crow28-Aug-08 3:59 
QuestionCArray::RemoveAt() causes Unhandled exception Pin
rp_suman27-Aug-08 16:13
rp_suman27-Aug-08 16:13 
QuestionRe: CArray::RemoveAt() causes Unhandled exception Pin
Mark Salsbery28-Aug-08 6:16
Mark Salsbery28-Aug-08 6:16 
QuestionChanging the filenames in the Common File Dialog Pin
Tony Rowe27-Aug-08 14:51
Tony Rowe27-Aug-08 14:51 
Questionstl::list --- Issue using lists.. Pin
FrankMookie27-Aug-08 13:22
FrankMookie27-Aug-08 13:22 
QuestionRe: stl::list --- Issue using lists.. Pin
Maximilien27-Aug-08 13:32
Maximilien27-Aug-08 13:32 
AnswerRe: stl::list --- Issue using lists.. Pin
FrankMookie27-Aug-08 13:42
FrankMookie27-Aug-08 13:42 
GeneralRe: stl::list --- Issue using lists.. Pin
David Crow28-Aug-08 4:02
David Crow28-Aug-08 4:02 
GeneralRe: stl::list --- Issue using lists.. Pin
FrankMookie28-Aug-08 4:26
FrankMookie28-Aug-08 4:26 
GeneralRe: stl::list --- Issue using lists.. Pin
David Crow28-Aug-08 4:36
David Crow28-Aug-08 4:36 
GeneralRe: stl::list --- Issue using lists.. Pin
FrankMookie28-Aug-08 4:40
FrankMookie28-Aug-08 4:40 
GeneralRe: stl::list --- Issue using lists.. Pin
David Crow28-Aug-08 4:46
David Crow28-Aug-08 4:46 

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.