Click here to Skip to main content
15,915,072 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
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 
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 
Your response is completely out of order. I certainly regret having upset you so much, though.

I did not misunderstand your question. My answer is "read this book" - Bruce collected a lot of useful advise that does relate to your question, and I see no reason why I should re-type his 1500 well-written pages here.

You don't seem to cope with frank advise, and mistake it for insult. If that's the way you read it, then so be it.

So, returning to your question:

a) you should not expose public data members
b) you should implement suitable verbs where possible, and accessors/mutators where needed
c) you should re-consider your naming policy
d) you should re-consider your referencing stratey (consider using references or smart pointers)

These are a lot of architectural weaknesses for an 8-liner, don't you think?

I think I might have mentioned a good book that details this much better than I could...

Bernd <grin>
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 
GeneralEnter key in rich edit control Pin
ted_yu14-Nov-03 7:48
ted_yu14-Nov-03 7:48 
GeneralComposite control Drag &amp; Drop Pin
Member 31248914-Nov-03 0:19
Member 31248914-Nov-03 0:19 
Generalini file Pin
jasu12-Nov-03 22:36
jasu12-Nov-03 22:36 
GeneralWTl in ATL 7 control Pin
Gabriel.P.G12-Nov-03 9:25
Gabriel.P.G12-Nov-03 9:25 

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.