Click here to Skip to main content
15,893,190 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalcompiling errors with xutility header file Pin
zlatnik15-Jul-04 12:02
zlatnik15-Jul-04 12:02 
GeneralRe: compiling errors with xutility header file Pin
vmaltsev15-Jul-04 12:30
vmaltsev15-Jul-04 12:30 
GeneralRe: compiling errors with xutility header file Pin
zlatnik15-Jul-04 12:37
zlatnik15-Jul-04 12:37 
GeneralRe: compiling errors with xutility header file Pin
vmaltsev15-Jul-04 12:41
vmaltsev15-Jul-04 12:41 
GeneralRe: compiling errors with xutility header file Pin
zlatnik15-Jul-04 12:47
zlatnik15-Jul-04 12:47 
GeneralRe: compiling errors with xutility header file Pin
vmaltsev15-Jul-04 12:57
vmaltsev15-Jul-04 12:57 
GeneralFound solution: code compiles fine in VC++ 6.0 Pin
zlatnik16-Jul-04 9:38
zlatnik16-Jul-04 9:38 
GeneralClasses which call each other's methods Pin
0v3rloader15-Jul-04 11:28
0v3rloader15-Jul-04 11:28 
Hi there,

I have this problem with two classes which need to access each other's methods. Allow me to exemplify:

<br />
class CBaseClass<br />
{<br />
   public:<br />
      CDerivedClass *pDerived;<br />
      .<br />
      :<br />
      .<br />
};<br />
<br />
class CDerivedClass<br />
{<br />
public:<br />
   CDerivedClass()<br />
   {<br />
      CBaseClass *pBaseClass;<br />
      .<br />
      :<br />
      .<br />
   };<br />
      .<br />
      :<br />
      .<br />
};<br />


Now, as you may have guessed by now, I can't compile this as the compiler doesn't recognise CDerivedClass (it is declared after CBaseClass...).

I know this can be solved -- I just don't know how. Could you please give me a hand?

That would be much appreciated.

David
GeneralRe: Classes which call each other's methods Pin
Antti Keskinen15-Jul-04 11:44
Antti Keskinen15-Jul-04 11:44 
GeneralRe: Classes which call each other's methods Pin
0v3rloader15-Jul-04 11:53
0v3rloader15-Jul-04 11:53 
GeneralRe: Classes which call each other's methods Pin
Antti Keskinen15-Jul-04 12:04
Antti Keskinen15-Jul-04 12:04 
GeneralRe: Classes which call each other's methods Pin
0v3rloader15-Jul-04 12:23
0v3rloader15-Jul-04 12:23 
QuestionWhy "SAFEARRAY"?? Pin
So and So15-Jul-04 11:25
So and So15-Jul-04 11:25 
QuestionFastest way to find a file exists on hard drive? Pin
xcavin15-Jul-04 11:22
xcavin15-Jul-04 11:22 
AnswerRe: no replies for serious issues. Pin
xcavin15-Jul-04 12:18
xcavin15-Jul-04 12:18 
GeneralRe: no replies for serious issues. Pin
Anders Molin15-Jul-04 12:34
professionalAnders Molin15-Jul-04 12:34 
AnswerRe: Fastest way to find a file exists on hard drive? Pin
Henry miller15-Jul-04 12:32
Henry miller15-Jul-04 12:32 
GeneralRe: Fastest way to find a file exists on hard drive? Pin
Henry miller16-Jul-04 2:47
Henry miller16-Jul-04 2:47 
AnswerRe: Fastest way to find a file exists on hard drive? Pin
Anders Molin15-Jul-04 12:33
professionalAnders Molin15-Jul-04 12:33 
AnswerRe: Fastest way to find a file exists on hard drive? Pin
Anonymous15-Jul-04 20:55
Anonymous15-Jul-04 20:55 
AnswerRe: Fastest way to find a file exists on hard drive? Pin
Blake Miller20-Jul-04 12:29
Blake Miller20-Jul-04 12:29 
GeneralGetDC drawing in win32 Pin
jass198115-Jul-04 10:31
sussjass198115-Jul-04 10:31 
GeneralRe: GetDC drawing in win32 Pin
RobJones15-Jul-04 11:23
RobJones15-Jul-04 11:23 
GeneralLPTSTR, LPCTSTR, CString and others... Pin
Kaleb Pederson15-Jul-04 9:22
Kaleb Pederson15-Jul-04 9:22 
GeneralRe: LPTSTR, LPCTSTR, CString and others... Pin
Toni7815-Jul-04 9:40
Toni7815-Jul-04 9:40 

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.