Click here to Skip to main content
15,892,005 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Unicode and codeproject article Pin
Daniel Pfeffer28-Feb-15 22:19
professionalDaniel Pfeffer28-Feb-15 22:19 
GeneralRe: Unicode and codeproject article Pin
Richard MacCutchan1-Mar-15 1:42
mveRichard MacCutchan1-Mar-15 1:42 
GeneralRe: Unicode and codeproject article Pin
bkelly131-Mar-15 5:39
bkelly131-Mar-15 5:39 
GeneralRe: Unicode and codeproject article Pin
Richard MacCutchan1-Mar-15 6:13
mveRichard MacCutchan1-Mar-15 6:13 
GeneralRe: Unicode and codeproject article Pin
bkelly131-Mar-15 15:51
bkelly131-Mar-15 15:51 
GeneralRe: Unicode and codeproject article Pin
Theo Buys13-Apr-15 4:27
Theo Buys13-Apr-15 4:27 
QuestionCAsyncSocket::Connect( (LPCTSTR) m_address, m_port_number ) Pin
bkelly1324-Feb-15 10:50
bkelly1324-Feb-15 10:50 
AnswerRe: CAsyncSocket::Connect( (LPCTSTR) m_address, m_port_number ) Pin
Richard MacCutchan24-Feb-15 22:30
mveRichard MacCutchan24-Feb-15 22:30 
GeneralRe: CAsyncSocket::Connect( (LPCTSTR) m_address, m_port_number ) Pin
bkelly1325-Feb-15 4:32
bkelly1325-Feb-15 4:32 
GeneralRe: CAsyncSocket::Connect( (LPCTSTR) m_address, m_port_number ) Pin
Richard MacCutchan25-Feb-15 5:02
mveRichard MacCutchan25-Feb-15 5:02 
GeneralRe: CAsyncSocket::Connect( (LPCTSTR) m_address, m_port_number ) Pin
bkelly1325-Feb-15 5:07
bkelly1325-Feb-15 5:07 
Questionis DLL appropriate Pin
bkelly1313-Dec-14 15:02
bkelly1313-Dec-14 15:02 
AnswerRe: is DLL appropriate Pin
Garth J Lancaster13-Dec-14 17:08
professionalGarth J Lancaster13-Dec-14 17:08 
AnswerRe: is DLL appropriate Pin
Richard MacCutchan13-Dec-14 21:24
mveRichard MacCutchan13-Dec-14 21:24 
GeneralRe: is DLL appropriate Pin
bkelly1314-Dec-14 5:04
bkelly1314-Dec-14 5:04 
AnswerRe: is DLL appropriate Pin
Albert Holguin5-Jan-15 6:55
professionalAlbert Holguin5-Jan-15 6:55 
QuestionIssue with CHTMLEditView in CDHTMLDialog Pin
Member 1101896712-Dec-14 3:53
Member 1101896712-Dec-14 3:53 
SuggestionRe: Issue with CHTMLEditView in CDHTMLDialog Pin
Richard MacCutchan14-Dec-14 3:04
mveRichard MacCutchan14-Dec-14 3:04 
GeneralRe: Issue with CHTMLEditView in CDHTMLDialog Pin
Member 110189677-Jan-15 23:22
Member 110189677-Jan-15 23:22 
GeneralRe: Issue with CHTMLEditView in CDHTMLDialog Pin
Richard MacCutchan8-Jan-15 0:07
mveRichard MacCutchan8-Jan-15 0:07 
Questionusing friend Pin
bkelly139-Dec-14 7:29
bkelly139-Dec-14 7:29 
AnswerRe: using friend Pin
Richard MacCutchan10-Dec-14 5:22
mveRichard MacCutchan10-Dec-14 5:22 
GeneralRe: using friend Pin
bkelly1311-Dec-14 10:24
bkelly1311-Dec-14 10:24 
GeneralRe: using friend Pin
Richard MacCutchan11-Dec-14 23:07
mveRichard MacCutchan11-Dec-14 23:07 
bkelly13 wrote:
Class M starts running and creates class C to do a bunch of startup work. C is owned by M but does not inherit from M. C is deleted immediately upon completing its work.
Then there is no need for them to be friends.

bkelly13 wrote:
I am leery of public variables
You can hid the variables by making them private, and creating public methods to get or set them, which is the generally recommended pattern in OOP.

At the end of the day it all depends on what each of your classes is supposed to do.
GeneralRe: using friend Pin
Aescleal11-Dec-14 23:52
Aescleal11-Dec-14 23:52 

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.