Click here to Skip to main content
15,882,768 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problem with STL Pin
Steve Echols11-Jul-06 19:40
Steve Echols11-Jul-06 19:40 
GeneralRe: Problem with STL [modified] Pin
Super Lloyd11-Jul-06 19:50
Super Lloyd11-Jul-06 19:50 
GeneralRe: Problem with STL Pin
Steve Echols11-Jul-06 20:48
Steve Echols11-Jul-06 20:48 
AnswerRe: Problem with STL Pin
Super Lloyd11-Jul-06 19:50
Super Lloyd11-Jul-06 19:50 
GeneralRe: Problem with STL [modified] Pin
Super Lloyd11-Jul-06 20:14
Super Lloyd11-Jul-06 20:14 
AnswerRe: Problem with STL [modified] Pin
Stephen Hewitt11-Jul-06 20:55
Stephen Hewitt11-Jul-06 20:55 
GeneralRe: Problem with STL Pin
Super Lloyd11-Jul-06 21:02
Super Lloyd11-Jul-06 21:02 
GeneralRe: Problem with STL Pin
Stephen Hewitt11-Jul-06 21:15
Stephen Hewitt11-Jul-06 21:15 
I didn't suggest you not use a pointer. I suggested you don't confuse the pointer with what it points to. You done this:
class_imps[sel] = imp;


I suggested you do this:
(*class_imps)[sel] = imp;


In the first you're not even using the map, you're using a pointer to a map. In the second you're using the map and the only thing copied is imp when the map makes a copy to store. Given that the map's mapped type is IMP this is exactly right.

Steve
GeneralRe: Problem with STL Pin
Super Lloyd11-Jul-06 21:39
Super Lloyd11-Jul-06 21:39 
GeneralRe: Problem with STL Pin
Stephen Hewitt11-Jul-06 21:50
Stephen Hewitt11-Jul-06 21:50 
GeneralRe: Problem with STL Pin
Super Lloyd11-Jul-06 22:11
Super Lloyd11-Jul-06 22:11 
GeneralRe: Problem with STL Pin
Stephen Hewitt11-Jul-06 22:26
Stephen Hewitt11-Jul-06 22:26 
QuestionC2664 error.......in evc++4.0 Pin
cool_frozen11-Jul-06 17:54
cool_frozen11-Jul-06 17:54 
AnswerRe: C2664 error.......in evc++4.0 Pin
bob1697211-Jul-06 18:46
bob1697211-Jul-06 18:46 
GeneralRe: C2664 error.......in evc++4.0 [modified] Pin
bob1697217-Jul-06 19:56
bob1697217-Jul-06 19:56 
GeneralRe: C2664 error.......in evc++4.0 Pin
cool_frozen17-Jul-06 23:39
cool_frozen17-Jul-06 23:39 
AnswerRe: C2664 error.......in evc++4.0 Pin
led mike11-Jul-06 19:25
led mike11-Jul-06 19:25 
GeneralRe: C2664 error.......in evc++4.0 Pin
cool_frozen12-Jul-06 20:48
cool_frozen12-Jul-06 20:48 
GeneralRe: C2664 error.......in evc++4.0 Pin
led mike13-Jul-06 5:00
led mike13-Jul-06 5:00 
QuestionHow to add animation in VC++ Pin
ooola rocks11-Jul-06 17:48
ooola rocks11-Jul-06 17:48 
AnswerRe: How to add animation in VC++ Pin
see me11-Jul-06 18:30
see me11-Jul-06 18:30 
GeneralRe: How to add animation in VC++ Pin
Noor Akhter11-Jul-06 18:53
Noor Akhter11-Jul-06 18:53 
GeneralRe: How to add animation in VC++ Pin
ooola rocks11-Jul-06 19:02
ooola rocks11-Jul-06 19:02 
AnswerRe: How to add animation in VC++ Pin
Steve Echols11-Jul-06 18:37
Steve Echols11-Jul-06 18:37 
GeneralRe: How to add animation in VC++ Pin
ooola rocks11-Jul-06 18:57
ooola rocks11-Jul-06 18:57 

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.