Click here to Skip to main content
16,005,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Visual C++ .net and Word 2003 automation Pin
tiziacaia18-Aug-04 7:17
tiziacaia18-Aug-04 7:17 
GeneralRe: Visual C++ .net and Word 2003 automation Pin
Steve Thresher18-Aug-04 11:00
Steve Thresher18-Aug-04 11:00 
GeneralRe: Visual C++ .net and Word 2003 automation Pin
tiziacaia18-Aug-04 18:27
tiziacaia18-Aug-04 18:27 
Questionhow to retrieve llist data from CListCtrl::OnNMRclick(NMHDR *pNMHDR, LRESULT *pResult) Pin
zecodela10-Aug-04 20:50
zecodela10-Aug-04 20:50 
AnswerRe: how to retrieve llist data from CListCtrl::OnNMRclick(NMHDR *pNMHDR, LRESULT *pResult) Pin
Aamir Butt10-Aug-04 21:36
Aamir Butt10-Aug-04 21:36 
GeneralRe: how to retrieve llist data from CListCtrl::OnNMRclick(NMHDR *pNMHDR, LRESULT *pResult) Pin
Dudi Avramov10-Aug-04 22:48
Dudi Avramov10-Aug-04 22:48 
GeneralRe: how to retrieve llist data from CListCtrl::OnNMRclick(NMHDR *pNMHDR, LRESULT *pResult) Pin
zecodela11-Aug-04 0:32
zecodela11-Aug-04 0:32 
Generalpublic data members Pin
elephantstar10-Aug-04 20:34
elephantstar10-Aug-04 20:34 
Hi there,

I know that it's bad coding practice to have public data members but what if you have a private struct containing about 10 fields. If I create a public struct containing the exact same fields and set each field to something, can I pass that public struct as a parameter to the mutator method to set the private data members to?

Does this fall under poor coding practices category or is it an exception to the rule?

Thanks!
QuestionIs User Active ? Pin
Amarelia10-Aug-04 19:47
Amarelia10-Aug-04 19:47 
AnswerRe: Is User Active ? Pin
Antony M Kancidrowski11-Aug-04 0:07
Antony M Kancidrowski11-Aug-04 0:07 
AnswerRe: Is User Active ? Pin
Antony M Kancidrowski12-Aug-04 7:48
Antony M Kancidrowski12-Aug-04 7:48 
Generalplease show me some example of CBrush::CreateBrushIndirect() Pin
learnvc10-Aug-04 19:47
learnvc10-Aug-04 19:47 
Generalvectors and assert Pin
Tyrus18210-Aug-04 19:41
Tyrus18210-Aug-04 19:41 
GeneralRe: vectors and assert Pin
V.10-Aug-04 20:43
professionalV.10-Aug-04 20:43 
GeneralRe: vectors and assert Pin
Dudi Avramov10-Aug-04 22:53
Dudi Avramov10-Aug-04 22:53 
GeneralRe: vectors and assert Pin
Mike Beckerleg10-Aug-04 22:59
Mike Beckerleg10-Aug-04 22:59 
GeneralExcel Pin
Rassul Yunussov10-Aug-04 19:27
Rassul Yunussov10-Aug-04 19:27 
GeneralRe: Excel Pin
Aamir Butt10-Aug-04 20:35
Aamir Butt10-Aug-04 20:35 
GeneralNetwork applcation in C++ Pin
A Khan10-Aug-04 19:16
sussA Khan10-Aug-04 19:16 
GeneralRe: Network applcation in C++ Pin
4apai10-Aug-04 22:35
4apai10-Aug-04 22:35 
GeneralRe: Network applcation in C++ Pin
A Khan11-Aug-04 1:35
sussA Khan11-Aug-04 1:35 
GeneralRe: Network applcation in C++ Pin
4apai11-Aug-04 3:27
4apai11-Aug-04 3:27 
GeneralRe: Network applcation in C++ Pin
Antony M Kancidrowski10-Aug-04 23:52
Antony M Kancidrowski10-Aug-04 23:52 
GeneralRe: Network applcation in C++ Pin
A Khan11-Aug-04 1:43
sussA Khan11-Aug-04 1:43 
GeneralRe: Network applcation in C++ Pin
Antony M Kancidrowski11-Aug-04 2:50
Antony M Kancidrowski11-Aug-04 2:50 

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.