Click here to Skip to main content
15,949,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCSpiltterWnd Pin
LeeeNN25-Jan-06 14:30
LeeeNN25-Jan-06 14:30 
QuestionReturning data from VC++(DLL) to VB Client Pin
techratna25-Jan-06 13:52
techratna25-Jan-06 13:52 
AnswerRe: Returning data from VC++(DLL) to VB Client Pin
Stephen Hewitt25-Jan-06 20:51
Stephen Hewitt25-Jan-06 20:51 
AnswerRe: Returning data from VC++(DLL) to VB Client Pin
Phil J Pearson25-Jan-06 23:29
Phil J Pearson25-Jan-06 23:29 
Questionchild frame fills main frame? Pin
LeeeNN25-Jan-06 13:38
LeeeNN25-Jan-06 13:38 
AnswerRe: child frame fills main frame? Pin
Owner drawn26-Jan-06 17:04
Owner drawn26-Jan-06 17:04 
QuestionMember Get/Set methods? Pin
Rob Caldecott25-Jan-06 11:55
Rob Caldecott25-Jan-06 11:55 
AnswerRe: Member Get/Set methods? Pin
Maximilien25-Jan-06 16:45
Maximilien25-Jan-06 16:45 
The idea of getter and setter method is that it let the programmer hide the implementation of the data ( decoupling ).

when dealing with containers, I would create an iterator (non STL ) class over that container, so that I can eventually change the container type without having to change every client accessing that class.

in your example, the user need to know that you are using an STL list, he does'nt need to know that, only to get a printer in that class.


I'm sorry I don't have a definitive solution for you; but it's a good question.



Maximilien Lincourt
Your Head A Splode - Strong Bad
AnswerRe: Member Get/Set methods? Pin
Bob Stanneveld25-Jan-06 21:07
Bob Stanneveld25-Jan-06 21:07 
Questionhow to define the customer paper type Pin
yujia12025-Jan-06 8:15
yujia12025-Jan-06 8:15 
AnswerRe: how to define the customer paper type Pin
Phil J Pearson25-Jan-06 23:32
Phil J Pearson25-Jan-06 23:32 
QuestionRe: how to define the customer paper type Pin
yujia12026-Jan-06 5:38
yujia12026-Jan-06 5:38 
QuestionHow to obtain the current directory pidl of a windows explorer window? Pin
z530025-Jan-06 6:21
z530025-Jan-06 6:21 
QuestionRe: How to obtain the current directory pidl of a windows explorer window? Pin
David Crow25-Jan-06 6:27
David Crow25-Jan-06 6:27 
AnswerRe: How to obtain the current directory pidl of a windows explorer window? Pin
z530025-Jan-06 14:20
z530025-Jan-06 14:20 
QuestionSerial number of USB Flash drive Pin
mrothermund25-Jan-06 6:16
mrothermund25-Jan-06 6:16 
AnswerRe: Serial number of USB Flash drive Pin
Phil J Pearson25-Jan-06 6:40
Phil J Pearson25-Jan-06 6:40 
AnswerRe: Serial number of USB Flash drive Pin
Taka Muraoka25-Jan-06 6:56
Taka Muraoka25-Jan-06 6:56 
GeneralRe: Serial number of USB Flash drive Pin
mrothermund25-Jan-06 7:46
mrothermund25-Jan-06 7:46 
AnswerRe: Serial number of USB Flash drive Pin
kakan25-Jan-06 20:13
professionalkakan25-Jan-06 20:13 
QuestionException (Access violation reading location) Pin
llp00na25-Jan-06 5:50
llp00na25-Jan-06 5:50 
AnswerRe: Exception (Access violation reading location) Pin
Blake Miller25-Jan-06 6:58
Blake Miller25-Jan-06 6:58 
GeneralRe: Exception (Access violation reading location) Pin
llp00na25-Jan-06 7:32
llp00na25-Jan-06 7:32 
AnswerRe: Exception (Access violation reading location) Pin
Michael Dunn25-Jan-06 10:26
sitebuilderMichael Dunn25-Jan-06 10:26 
AnswerRe: Exception (Access violation reading location) Pin
Stephen Hewitt25-Jan-06 21:09
Stephen Hewitt25-Jan-06 21:09 

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.