Click here to Skip to main content
15,911,890 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Problem with Xp Styles Pin
TobetheWinner20-Jun-07 8:09
TobetheWinner20-Jun-07 8:09 
AnswerRe: Problem with Xp Styles Pin
Hamid_RT20-Jun-07 9:19
Hamid_RT20-Jun-07 9:19 
QuestionManifest and Exp Pin
tom groezer20-Jun-07 1:36
tom groezer20-Jun-07 1:36 
AnswerRe: Manifest and Exp Pin
toxcct20-Jun-07 1:45
toxcct20-Jun-07 1:45 
GeneralRe: Manifest and Exp Pin
tom groezer20-Jun-07 1:57
tom groezer20-Jun-07 1:57 
GeneralRe: Manifest and Exp Pin
toxcct20-Jun-07 2:00
toxcct20-Jun-07 2:00 
GeneralRe: Manifest and Exp Pin
Hans Dietrich20-Jun-07 3:12
mentorHans Dietrich20-Jun-07 3:12 
GeneralRe: Manifest and Exp Pin
Hamid_RT20-Jun-07 9:20
Hamid_RT20-Jun-07 9:20 
QuestionDelay in Image Transfer trough media player encoder! Pin
Naveen Khanna20-Jun-07 1:34
Naveen Khanna20-Jun-07 1:34 
AnswerRe: Delay in Image Transfer trough media player encoder! Pin
rjkg20-Jun-07 2:12
rjkg20-Jun-07 2:12 
GeneralRe: Delay in Image Transfer trough media player encoder! Pin
Naveen Khanna20-Jun-07 18:49
Naveen Khanna20-Jun-07 18:49 
AnswerRe: Delay in Image Transfer trough media player encoder! Pin
Mark Salsbery20-Jun-07 5:58
Mark Salsbery20-Jun-07 5:58 
GeneralRe: Delay in Image Transfer trough media player encoder! Pin
Naveen Khanna20-Jun-07 18:55
Naveen Khanna20-Jun-07 18:55 
GeneralRe: Delay in Image Transfer trough media player encoder! Pin
Mark Salsbery21-Jun-07 5:28
Mark Salsbery21-Jun-07 5:28 
QuestionRedistributing Visual C++ Files Pin
Programm3r20-Jun-07 1:32
Programm3r20-Jun-07 1:32 
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 
Pur those classes in separate files. Each class with one header file and one cpp file. In the header files, you can use forward declaration:

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


This will tell the compiler that the class Image exists and will be defined elsewhere. This works only because you are working with pointers and you don't use anything specific from the class (you just declare a pointer). This won't work if you use a class instance instead of a pointer.

Then in the cpp file of the Win class, you will need to include the header file of the Image class.
You'll need to do that for both classes.


Cédric Moonen
Software developer

Charting control [v1.2]

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 
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 

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.