Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: query Pin
A_xin12-Mar-09 23:51
A_xin12-Mar-09 23:51 
QuestionContains [modified] Pin
su_penguin12-Mar-09 11:16
su_penguin12-Mar-09 11:16 
AnswerRe: Contains Pin
Stuart Dootson12-Mar-09 11:56
professionalStuart Dootson12-Mar-09 11:56 
GeneralRe: Contains Pin
Rajasekharan Vengalil12-Mar-09 17:46
Rajasekharan Vengalil12-Mar-09 17:46 
QuestionA class within a class Pin
Chris Copeland12-Mar-09 10:42
mveChris Copeland12-Mar-09 10:42 
AnswerRe: A class within a class Pin
CPallini12-Mar-09 11:09
mveCPallini12-Mar-09 11:09 
AnswerRe: A class within a class Pin
Stuart Dootson12-Mar-09 11:10
professionalStuart Dootson12-Mar-09 11:10 
GeneralRe: A class within a class Pin
Chris Copeland12-Mar-09 11:19
mveChris Copeland12-Mar-09 11:19 
Hm, running it through the pre-processor didn't really do much, since i'm pretty new to C++.

All the headers are linked though. The header file which requires class 'A' has the inclusion for class A in the header.
To be honest, I don't understand how it wouldn't be linking them together, they're all connected and 'class A' is definately being declared in (eg) 'A.h'. 'B.h' then includes 'A.h', and then requires 'A Foo' further down in the code.

There are appropriate .cpp files that are also used with the initializers etc. and i've included both 'A.h' *and* 'B.h' in both of those files.

It's just refusing to recognise 'class A' as any type of identifier, yet if I hover over the keyword 'A', it tells me that it's a class etc.
GeneralRe: A class within a class Pin
Stuart Dootson12-Mar-09 11:31
professionalStuart Dootson12-Mar-09 11:31 
GeneralRe: A class within a class Pin
Chris Copeland12-Mar-09 11:32
mveChris Copeland12-Mar-09 11:32 
GeneralRe: A class within a class Pin
Stuart Dootson12-Mar-09 11:58
professionalStuart Dootson12-Mar-09 11:58 
GeneralRe: A class within a class Pin
Chris Copeland12-Mar-09 12:01
mveChris Copeland12-Mar-09 12:01 
GeneralRe: A class within a class Pin
Stuart Dootson12-Mar-09 12:08
professionalStuart Dootson12-Mar-09 12:08 
GeneralRe: A class within a class Pin
Chris Copeland12-Mar-09 12:18
mveChris Copeland12-Mar-09 12:18 
QuestionMemory Checker Tools Pin
BobInNJ12-Mar-09 9:49
BobInNJ12-Mar-09 9:49 
QuestionRe: Memory Checker Tools Pin
David Crow12-Mar-09 10:06
David Crow12-Mar-09 10:06 
AnswerRe: Memory Checker Tools Pin
BobInNJ12-Mar-09 10:09
BobInNJ12-Mar-09 10:09 
GeneralRe: Memory Checker Tools Pin
David Crow12-Mar-09 10:12
David Crow12-Mar-09 10:12 
GeneralRe: Memory Checker Tools Pin
BobInNJ12-Mar-09 10:15
BobInNJ12-Mar-09 10:15 
AnswerRe: Memory Checker Tools Pin
Yusuf12-Mar-09 12:46
Yusuf12-Mar-09 12:46 
QuestionHow to trigger a hotkey event using MFC? Pin
DavidA200512-Mar-09 7:12
DavidA200512-Mar-09 7:12 
QuestionMFC beginner Pin
p_196012-Mar-09 5:55
p_196012-Mar-09 5:55 
AnswerRe: MFC beginner Pin
Joe Woodbury12-Mar-09 7:01
professionalJoe Woodbury12-Mar-09 7:01 
AnswerRe: MFC beginner Pin
CPallini12-Mar-09 10:33
mveCPallini12-Mar-09 10:33 
AnswerRe: MFC beginner Pin
Yusuf12-Mar-09 12:48
Yusuf12-Mar-09 12:48 

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.