Click here to Skip to main content
15,898,615 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I know absolutely nothing...help, please. Pin
Anonymous2-Feb-04 4:00
Anonymous2-Feb-04 4:00 
GeneralRe: I know absolutely nothing...help, please. Pin
_Sephiroth_2-Feb-04 10:02
_Sephiroth_2-Feb-04 10:02 
GeneralRe: I know absolutely nothing...help, please. Pin
Roger Wright2-Feb-04 4:51
professionalRoger Wright2-Feb-04 4:51 
GeneralGroup several pages or child windows in to one project Pin
swarnamanoo1-Feb-04 17:44
swarnamanoo1-Feb-04 17:44 
GeneralPerformance problem of using listctrl to retrieve data using ADO in VC++ Pin
Dababa1-Feb-04 17:15
Dababa1-Feb-04 17:15 
GeneralRe: Performance problem of retrieve data using ADO in VC++ Pin
Dababa1-Feb-04 17:43
Dababa1-Feb-04 17:43 
GeneralMoving from MFC CList to stl::vector; please help Pin
Cloaca1-Feb-04 17:14
Cloaca1-Feb-04 17:14 
GeneralRe: Moving from MFC CList to stl::vector; please help Pin
Cloaca1-Feb-04 18:02
Cloaca1-Feb-04 18:02 
Hi all,

I made the following change to the code:
I removed the following line (the one with the error):
std::vector<CPlayerRec*>::iterator it = initDBM.m_Players.begin();
And I added the following two:
std::vector<CPlayerRec*> tempVector = initDBM.m_Players;<br />
std::vector<CPlayerRec*>::iterator it = tempVector.begin();

The code now compiles, but I am concerned that I kludged it. Did I just shut the comiler up from bitching or is this the correct solution?
If this is correct, then what kind of clean-up do I need to perform regarding tempVector at the end of the copy constructor code?

Thanks very much again, Smile | :)
Eric
GeneralRe: Moving from MFC CList to stl::vector; please help Pin
Diddy1-Feb-04 22:21
Diddy1-Feb-04 22:21 
GeneralRe: Moving from MFC CList to stl::vector; please help Pin
Cloaca2-Feb-04 4:49
Cloaca2-Feb-04 4:49 
GeneralRe: Moving from MFC CList to stl::vector; please help Pin
Diddy2-Feb-04 5:41
Diddy2-Feb-04 5:41 
QuestionIs there a function to create sound? Pin
siew hoon1-Feb-04 15:51
siew hoon1-Feb-04 15:51 
AnswerRe: Is there a function to create sound? Pin
Prakash Nadar1-Feb-04 16:26
Prakash Nadar1-Feb-04 16:26 
AnswerRe: Is there a function to create sound? Pin
george ivanov2-Feb-04 2:05
george ivanov2-Feb-04 2:05 
QuestionHow to fix the 2nd dialog from moving? Pin
siew hoon1-Feb-04 15:49
siew hoon1-Feb-04 15:49 
AnswerRe: How to fix the 2nd dialog from moving? Pin
Diddy1-Feb-04 22:40
Diddy1-Feb-04 22:40 
GeneralRe: How to fix the 2nd dialog from moving? Pin
siew hoon21-Feb-04 19:40
siew hoon21-Feb-04 19:40 
GeneralRe: How to fix the 2nd dialog from moving? Pin
Diddy22-Feb-04 10:23
Diddy22-Feb-04 10:23 
GeneralRe: How to fix the 2nd dialog from moving? Pin
Anonymous22-Feb-04 13:33
Anonymous22-Feb-04 13:33 
GeneralRe: How to fix the 2nd dialog from moving? Pin
Diddy23-Feb-04 5:10
Diddy23-Feb-04 5:10 
GeneralRe: How to fix the 2nd dialog from moving? Pin
siew hoon27-Feb-04 16:26
siew hoon27-Feb-04 16:26 
GeneralRe: How to fix the 2nd dialog from moving? Pin
Diddy28-Feb-04 1:21
Diddy28-Feb-04 1:21 
GeneralRe: How to fix the 2nd dialog from moving? Pin
Diddy29-Feb-04 8:52
Diddy29-Feb-04 8:52 
GeneralRe: How to fix the 2nd dialog from moving? Pin
siew hoon2-Mar-04 3:04
siew hoon2-Mar-04 3:04 
GeneralRe: How to fix the 2nd dialog from moving? Pin
Diddy2-Mar-04 8:30
Diddy2-Mar-04 8:30 

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.