Click here to Skip to main content
15,888,162 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Redistributing Visual C++ Files Pin
Hans Dietrich20-Jun-07 3:15
mentorHans Dietrich20-Jun-07 3:15 
GeneralRe: Redistributing Visual C++ Files Pin
Programm3r20-Jun-07 3:37
Programm3r20-Jun-07 3:37 
AnswerRe: Redistributing Visual C++ Files Pin
Mike Dimmick20-Jun-07 3:55
Mike Dimmick20-Jun-07 3:55 
QuestionInterdependent classes in C++ Pin
boffboy20-Jun-07 1:12
boffboy20-Jun-07 1:12 
AnswerRe: Interdependent classes in C++ Pin
Cedric Moonen20-Jun-07 1:21
Cedric Moonen20-Jun-07 1:21 
GeneralRe: Interdependent classes in C++ Pin
tom groezer20-Jun-07 1:53
tom groezer20-Jun-07 1:53 
GeneralRe: Interdependent classes in C++ Pin
toxcct20-Jun-07 1:56
toxcct20-Jun-07 1:56 
GeneralRe: Interdependent classes in C++ Pin
Cedric Moonen20-Jun-07 2:01
Cedric Moonen20-Jun-07 2:01 
Because if you do something like that:

class Win<br />
{<br />
...<br />
...<br />
 Image img;<br />
};


The compiler will need to know the size of the object in order to generate the Win class. Thus, the only way to know the size of the object is to know what's inside (thus, including the header file).
If you use pointers, the compiler always knows the size of a pointer and it doesn't need to know more.


Cédric Moonen
Software developer

Charting control [v1.2]

AnswerRe: Interdependent classes in C++ Pin
toxcct20-Jun-07 1:29
toxcct20-Jun-07 1:29 
QuestionDirective Pin
tom groezer20-Jun-07 0:45
tom groezer20-Jun-07 0:45 
AnswerRe: Directive Pin
Cedric Moonen20-Jun-07 0:58
Cedric Moonen20-Jun-07 0:58 
GeneralRe: Directive Pin
toxcct20-Jun-07 1:32
toxcct20-Jun-07 1:32 
GeneralRe: Directive Pin
Cedric Moonen20-Jun-07 1:39
Cedric Moonen20-Jun-07 1:39 
GeneralRe: Directive Pin
tom groezer20-Jun-07 1:43
tom groezer20-Jun-07 1:43 
GeneralRe: Directive Pin
toxcct20-Jun-07 1:51
toxcct20-Jun-07 1:51 
QuestionRetriving Device information attached with system Pin
Karismatic20-Jun-07 0:38
Karismatic20-Jun-07 0:38 
QuestionRe: Retriving Device information attached with system Pin
David Crow20-Jun-07 2:35
David Crow20-Jun-07 2:35 
QuestionRe: Retriving Device information attached with system Pin
Hamid_RT20-Jun-07 9:13
Hamid_RT20-Jun-07 9:13 
QuestionProblem removing object from list Pin
Kevin Brydon20-Jun-07 0:28
Kevin Brydon20-Jun-07 0:28 
AnswerRe: Problem removing object from list Pin
Cedric Moonen20-Jun-07 0:49
Cedric Moonen20-Jun-07 0:49 
GeneralRe: Problem removing object from list Pin
Kevin Brydon20-Jun-07 1:20
Kevin Brydon20-Jun-07 1:20 
Questioncyclic reduction on c Pin
ovoundaga19-Jun-07 23:32
ovoundaga19-Jun-07 23:32 
Questioncyclic reduction on c Pin
ovoundaga19-Jun-07 23:28
ovoundaga19-Jun-07 23:28 
AnswerRe: cyclic reduction on c Pin
toxcct20-Jun-07 1:35
toxcct20-Jun-07 1:35 
QuestionHow to download the file using HTTP while the file is being uploaded using FTP? Pin
Jyo200719-Jun-07 21:28
Jyo200719-Jun-07 21:28 

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.