Click here to Skip to main content
16,012,116 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Circular reference in header file Pin
Tim Smith6-Feb-02 15:08
Tim Smith6-Feb-02 15:08 
GeneralRe: Circular reference in header file Pin
Mr.Freeze6-Feb-02 15:22
Mr.Freeze6-Feb-02 15:22 
GeneralRe: Circular reference in header file Pin
Tim Smith6-Feb-02 15:26
Tim Smith6-Feb-02 15:26 
GeneralRe: Circular reference in header file Pin
Mr.Freeze6-Feb-02 15:43
Mr.Freeze6-Feb-02 15:43 
GeneralRe: Any code analyzers? Pin
6-Feb-02 14:48
suss6-Feb-02 14:48 
GeneralRe: Any code analyzers? Pin
Tim Smith6-Feb-02 15:12
Tim Smith6-Feb-02 15:12 
GeneralA problem! Pin
wabc6-Feb-02 13:58
wabc6-Feb-02 13:58 
GeneralRe: A problem! Pin
Christian Graus6-Feb-02 14:24
protectorChristian Graus6-Feb-02 14:24 
The constructor is called before B's constructor, so if it took an argument, you could not do this:

class A{
public:
A(int n){ m_n = n;};
etc.....

class B{
public:
A m_var2;

A()
{
m_var2(7);
}

You'd need to do this in your cpp file:

A::A() : m_var2(7)
{

}

Christian

I have come to clean zee pooollll. - Michael Martin Dec 30, 2001

Picture the daffodil. And while you do that, I'll be over here going through your stuff.

QuestionCAsyncSocket will recv all packets in one recv? Pin
AnonymousBabe@usa.net6-Feb-02 13:49
AnonymousBabe@usa.net6-Feb-02 13:49 
AnswerRe: CAsyncSocket will recv all packets in one recv? Pin
Tim Smith6-Feb-02 15:27
Tim Smith6-Feb-02 15:27 
GeneralRe: CAsyncSocket will recv all packets in one recv? Pin
AnonymousBabe@usa.net6-Feb-02 16:32
AnonymousBabe@usa.net6-Feb-02 16:32 
GeneralRe: CAsyncSocket will recv all packets in one recv? Pin
markkuk6-Feb-02 20:35
markkuk6-Feb-02 20:35 
AnswerRe: CAsyncSocket will recv all packets in one recv? Pin
AnonymousBabe@usa.net6-Feb-02 21:33
AnonymousBabe@usa.net6-Feb-02 21:33 
GeneralRe: CAsyncSocket will recv all packets in one recv? Pin
6-Feb-02 22:16
suss6-Feb-02 22:16 
GeneralRe: CAsyncSocket will recv all packets in one recv? Pin
Peter Weyzen7-Feb-02 10:10
Peter Weyzen7-Feb-02 10:10 
Generalconverting Pin
6-Feb-02 13:26
suss6-Feb-02 13:26 
GeneralRe: converting Pin
Christian Graus6-Feb-02 13:51
protectorChristian Graus6-Feb-02 13:51 
GeneralRe: converting Pin
Paul M Watt6-Feb-02 14:21
mentorPaul M Watt6-Feb-02 14:21 
GeneralRe: converting Pin
Paul M Watt6-Feb-02 18:13
mentorPaul M Watt6-Feb-02 18:13 
GeneralRe: converting Pin
Tim Smith6-Feb-02 15:05
Tim Smith6-Feb-02 15:05 
GeneralMoving Controls on a Dialog Pin
John Clump6-Feb-02 12:31
John Clump6-Feb-02 12:31 
GeneralRe: Moving Controls on a Dialog Pin
Joaquín M López Muñoz6-Feb-02 12:35
Joaquín M López Muñoz6-Feb-02 12:35 
GeneralRe: Moving Controls on a Dialog Pin
John Clump6-Feb-02 14:48
John Clump6-Feb-02 14:48 
GeneralRe: Moving Controls on a Dialog Pin
Josh Koppang6-Feb-02 12:42
Josh Koppang6-Feb-02 12:42 
GeneralRe: Moving Controls on a Dialog Pin
Josh Koppang6-Feb-02 12:49
Josh Koppang6-Feb-02 12:49 

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.