Click here to Skip to main content
15,910,661 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: public & protect question Pin
followait11-May-08 22:19
followait11-May-08 22:19 
GeneralRe: public & protect question Pin
Rajkumar R11-May-08 22:24
Rajkumar R11-May-08 22:24 
QuestionWhich message the Windows sent indication the creation of a new file to Explorer windows Pin
Nitheesh George11-May-08 21:36
Nitheesh George11-May-08 21:36 
AnswerRe: Which message the Windows sent indication the creation of a new file to Explorer windows Pin
Naveen11-May-08 21:45
Naveen11-May-08 21:45 
GeneralRe: Which message the Windows sent indication the creation of a new file to Explorer windows Pin
Nitheesh George11-May-08 22:18
Nitheesh George11-May-08 22:18 
QuestionClass ProtoType Pin
dehseth11-May-08 21:30
dehseth11-May-08 21:30 
QuestionRe: Class ProtoType Pin
CPallini11-May-08 21:41
mveCPallini11-May-08 21:41 
AnswerRe: Class ProtoType Pin
dehseth11-May-08 22:23
dehseth11-May-08 22:23 
source code is a lil bit long it makes more confusion if I paste it in here.

this error occurs during compiling:

I have 2 classes which points each other with pointers.
During compile I include child.h first and main.h later.
Since child class includes a main class pointer in itself it asks for the class. So I need to write a prototype for mainclass before including child class. When I write class CMain; it asks for Main class functions, cause child class calls function of main class. And here my problem starts cause compiler says undeclare identifier of CMain class...

So how can I declare a working prototype of CMain class to compile whole code Confused | :confused:
GeneralRe: Class ProtoType Pin
CPallini11-May-08 22:50
mveCPallini11-May-08 22:50 
QuestionRe: Class ProtoType Pin
dehseth12-May-08 1:35
dehseth12-May-08 1:35 
QuestionRe: Class ProtoType Pin
CPallini12-May-08 2:08
mveCPallini12-May-08 2:08 
GeneralRe: Class ProtoType Pin
dehseth12-May-08 2:55
dehseth12-May-08 2:55 
AnswerRe: Class ProtoType Pin
Rajkumar R11-May-08 21:43
Rajkumar R11-May-08 21:43 
GeneralRe: Class ProtoType Pin
dehseth11-May-08 22:16
dehseth11-May-08 22:16 
GeneralRe: Class ProtoType Pin
Rajkumar R11-May-08 22:27
Rajkumar R11-May-08 22:27 
QuestionMFC Problem with writing file Pin
mihai12311-May-08 21:16
mihai12311-May-08 21:16 
AnswerRe: MFC Problem with writing file Pin
Naveen11-May-08 21:25
Naveen11-May-08 21:25 
GeneralRe: MFC Problem with writing file Pin
mihai12311-May-08 22:10
mihai12311-May-08 22:10 
QuestionSkin Pin
john563211-May-08 21:06
john563211-May-08 21:06 
AnswerRe: Skin Pin
Hamid_RT11-May-08 21:10
Hamid_RT11-May-08 21:10 
QuestionRe: Skin Pin
Rajesh R Subramanian11-May-08 22:53
professionalRajesh R Subramanian11-May-08 22:53 
QuestionCreateThread and AfxBeginThread Pin
tom groezer11-May-08 20:54
tom groezer11-May-08 20:54 
AnswerRe: CreateThread and AfxBeginThread Pin
Hamid_RT11-May-08 21:17
Hamid_RT11-May-08 21:17 
AnswerRe: CreateThread and AfxBeginThread Pin
CPallini11-May-08 21:20
mveCPallini11-May-08 21:20 
AnswerRe: CreateThread and AfxBeginThread Pin
ShilpiP11-May-08 22:55
ShilpiP11-May-08 22:55 

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.