Click here to Skip to main content
16,011,626 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Template issue.. Pin
GDavy18-Nov-03 2:16
GDavy18-Nov-03 2:16 
GeneralRe: Template issue.. Pin
GDavy18-Nov-03 3:25
GDavy18-Nov-03 3:25 
GeneralIOleInPlaceObjectWindowLessImpl::GetDropTarget Pin
Jörgen Sigvardsson18-Nov-03 0:31
Jörgen Sigvardsson18-Nov-03 0:31 
GeneralParent-Child windows relationship Pin
Gabriel.P.G17-Nov-03 10:46
Gabriel.P.G17-Nov-03 10:46 
QuestionHow do I read one vector from another? Pin
WREY16-Nov-03 17:08
WREY16-Nov-03 17:08 
AnswerRe: How do I read one vector from another? Pin
Michael Dunn16-Nov-03 18:46
sitebuilderMichael Dunn16-Nov-03 18:46 
GeneralRe: How do I read one vector from another? Pin
WREY16-Nov-03 21:44
WREY16-Nov-03 21:44 
GeneralRe: How do I read one vector from another? Pin
berndg17-Nov-03 3:13
berndg17-Nov-03 3:13 
Will,
There's nothing technically wrong with your code. MyClass contains a public vector vPtrOC, which is a vector or pointers to otherClass objects. These objects in turn contain a public vector vOC_str each.

Nothing wrong here; myClass can access all otherClass items pointed to be the vPtrOC vector, and for each of these access the darn string vector.

I suspect there is an error in your approach; obviously you suffer from some problem, but neither problem nor reason is evendent in your code snippet.

Besides, you might want to consider your programming style. Public data members, vectors of pointers to objects under (presumably) foreign memory management, unconviencing naming policy, that is all the stuff progammers' hell is made from - including your own, if you revisit that code in a few months.

I recommend Bruce Eckel.
Bernd
GeneralRe: How do I read one vector from another? Pin
WREY17-Nov-03 8:19
WREY17-Nov-03 8:19 
GeneralRe: How do I read one vector from another? Pin
berndg17-Nov-03 20:31
berndg17-Nov-03 20:31 
GeneralRe: How do I read one vector from another? Pin
WREY17-Nov-03 22:07
WREY17-Nov-03 22:07 
GeneralRe: How do I read one vector from another? Pin
berndg17-Nov-03 22:25
berndg17-Nov-03 22:25 
GeneralRe: How do I read one vector from another? Pin
WREY17-Nov-03 23:28
WREY17-Nov-03 23:28 
GeneralRe: How do I read one vector from another? Pin
Andreas Saurwein21-Nov-03 11:31
Andreas Saurwein21-Nov-03 11:31 
GeneralRe: How do I read one vector from another? Pin
WREY24-Nov-03 14:48
WREY24-Nov-03 14:48 
GeneralRe: How do I read one vector from another? Pin
Andreas Saurwein24-Nov-03 15:33
Andreas Saurwein24-Nov-03 15:33 
QuestionWill sort method in STL cause memory disorder? Pin
Yu Yang15-Nov-03 9:40
Yu Yang15-Nov-03 9:40 
AnswerRe: Will sort method in STL cause memory disorder? Pin
jbarton17-Nov-03 5:20
jbarton17-Nov-03 5:20 
GeneralHINSTANCE Pin
alex.barylski15-Nov-03 8:36
alex.barylski15-Nov-03 8:36 
GeneralRe: HINSTANCE Pin
Michael Dunn15-Nov-03 16:39
sitebuilderMichael Dunn15-Nov-03 16:39 
GeneralCImageList Pin
alex.barylski14-Nov-03 14:47
alex.barylski14-Nov-03 14:47 
GeneralRe: CImageList Pin
Michael Dunn14-Nov-03 16:00
sitebuilderMichael Dunn14-Nov-03 16:00 
GeneralRe: CImageList Pin
alex.barylski14-Nov-03 16:58
alex.barylski14-Nov-03 16:58 
GeneralRe: CImageList Pin
Michael Dunn14-Nov-03 18:20
sitebuilderMichael Dunn14-Nov-03 18:20 
GeneralRe: CImageList Pin
umeca7414-Nov-03 23:04
umeca7414-Nov-03 23:04 

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.