Click here to Skip to main content
15,884,628 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Print Bitmap from Printing Class Library Pin
Victor Nijegorodov31-Oct-18 11:06
Victor Nijegorodov31-Oct-18 11:06 
GeneralRe: Print Bitmap from Printing Class Library Pin
Victor Nijegorodov31-Oct-18 8:43
Victor Nijegorodov31-Oct-18 8:43 
AnswerRe: Print Bitmap from Printing Class Library Pin
leon de boer31-Oct-18 17:27
leon de boer31-Oct-18 17:27 
QuestionReferencing a class in other in a other class Pin
ForNow28-Oct-18 3:43
ForNow28-Oct-18 3:43 
AnswerRe: Referencing a class in other in a other class Pin
Victor Nijegorodov28-Oct-18 7:35
Victor Nijegorodov28-Oct-18 7:35 
GeneralRe: Referencing a class in other in a other class Pin
ForNow28-Oct-18 7:37
ForNow28-Oct-18 7:37 
GeneralRe: Referencing a class in other in a other class Pin
Richard MacCutchan28-Oct-18 11:34
mveRichard MacCutchan28-Oct-18 11:34 
GeneralRe: Referencing a class in other in a other class Pin
Stefan_Lang31-Oct-18 3:59
Stefan_Lang31-Oct-18 3:59 
In the code you posted, the forward declaration can not work. If it worked in your code, it may be including c.h without your knowing, maybe indirectly through another header.

If #include doesn't work, read the error message. The only reasons for #include not working that I can think of is that either the code in your c.h has a syntax error, or you forgot to add an Include guard[^], causing a duplicate definition.
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

AnswerRe: Referencing a class in other in a other class Pin
Joe Woodbury28-Oct-18 9:02
professionalJoe Woodbury28-Oct-18 9:02 
AnswerRe: Referencing a class in other in a other class Pin
Bram van Kampen2-Nov-18 14:31
Bram van Kampen2-Nov-18 14:31 
QuestionPrivate test case failed Pin
Member 1403429426-Oct-18 9:35
Member 1403429426-Oct-18 9:35 
SuggestionRe: Private test case failed Pin
Richard MacCutchan26-Oct-18 22:41
mveRichard MacCutchan26-Oct-18 22:41 
QuestionRe: Private test case failed Pin
David Crow29-Oct-18 7:11
David Crow29-Oct-18 7:11 
QuestionCatch javascript event in CHtmlView Pin
_Flaviu23-Oct-18 23:37
_Flaviu23-Oct-18 23:37 
AnswerMessage Closed Pin
24-Oct-18 0:48
_Flaviu24-Oct-18 0:48 
GeneralRe: Catch javascript event in CHtmlView Pin
_Flaviu26-Oct-18 1:14
_Flaviu26-Oct-18 1:14 
AnswerRe: Catch javascript event in CHtmlView Pin
Afzaal Ahmad Zeeshan24-Oct-18 0:51
professionalAfzaal Ahmad Zeeshan24-Oct-18 0:51 
Questiondouble signed comparison in C++ Pin
kamal197723-Oct-18 16:42
kamal197723-Oct-18 16:42 
AnswerRe: double signed comparison in C++ Pin
CPallini23-Oct-18 20:47
mveCPallini23-Oct-18 20:47 
AnswerRe: double signed comparison in C++ Pin
Victor Nijegorodov23-Oct-18 21:04
Victor Nijegorodov23-Oct-18 21:04 
Questionclistctrl class Pin
Jim Overby23-Oct-18 8:01
Jim Overby23-Oct-18 8:01 
AnswerRe: clistctrl class Pin
Victor Nijegorodov23-Oct-18 8:11
Victor Nijegorodov23-Oct-18 8:11 
AnswerRe: clistctrl class Pin
Joe Woodbury23-Oct-18 8:29
professionalJoe Woodbury23-Oct-18 8:29 
SuggestionRe: clistctrl class Pin
David Crow23-Oct-18 9:34
David Crow23-Oct-18 9:34 
Questionhelp Pin
sabrina life19-Oct-18 7:54
sabrina life19-Oct-18 7:54 

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.