Click here to Skip to main content
14,211,543 members

C / C++ / MFC

 
GeneralRe: How to solve memory resource management problems in C++ Pin
Richard MacCutchan3-Nov-18 21:17
protectorRichard MacCutchan3-Nov-18 21:17 
AnswerRe: How to solve memory resource management problems in C++ Pin
元昊 潘3-Nov-18 22:00
member元昊 潘3-Nov-18 22:00 
GeneralRe: How to solve memory resource management problems in C++ Pin
Richard MacCutchan3-Nov-18 22:18
protectorRichard MacCutchan3-Nov-18 22:18 
GeneralRe: How to solve memory resource management problems in C++ Pin
元昊 潘3-Nov-18 22:30
member元昊 潘3-Nov-18 22:30 
GeneralRe: How to solve memory resource management problems in C++ Pin
Richard MacCutchan3-Nov-18 22:34
protectorRichard MacCutchan3-Nov-18 22:34 
PraiseRe: How to solve memory resource management problems in C++ Pin
元昊 潘3-Nov-18 23:44
member元昊 潘3-Nov-18 23:44 
GeneralRe: How to solve memory resource management problems in C++ Pin
Stefan_Lang13-Nov-18 22:52
memberStefan_Lang13-Nov-18 22:52 
GeneralRe: How to solve memory resource management problems in C++ Pin
meerokh7-Nov-18 0:39
membermeerokh7-Nov-18 0:39 
GeneralRe: How to solve memory resource management problems in C++ Pin
Stefan_Lang13-Nov-18 22:34
memberStefan_Lang13-Nov-18 22:34 
QuestionShared sections in a DLL Pin
Bram van Kampen2-Nov-18 13:39
memberBram van Kampen2-Nov-18 13:39 
AnswerRe: Shared sections in a DLL Pin
Afzaal Ahmad Zeeshan2-Nov-18 13:55
mveAfzaal Ahmad Zeeshan2-Nov-18 13:55 
AnswerRe: Shared sections in a DLL Pin
11917640 Member 5-Nov-18 4:34
member11917640 Member 5-Nov-18 4:34 
QuestionPrint Bitmap from Printing Class Library Pin
Member 1403961931-Oct-18 7:29
memberMember 1403961931-Oct-18 7:29 
AnswerRe: Print Bitmap from Printing Class Library Pin
Victor Nijegorodov31-Oct-18 8:15
memberVictor Nijegorodov31-Oct-18 8:15 
GeneralRe: Print Bitmap from Printing Class Library Pin
Member 1403961931-Oct-18 8:31
memberMember 1403961931-Oct-18 8:31 
GeneralRe: Print Bitmap from Printing Class Library Pin
Victor Nijegorodov31-Oct-18 8:37
memberVictor Nijegorodov31-Oct-18 8:37 
GeneralRe: Print Bitmap from Printing Class Library Pin
Richard Deeming31-Oct-18 9:14
mveRichard Deeming31-Oct-18 9:14 
GeneralRe: Print Bitmap from Printing Class Library Pin
Victor Nijegorodov31-Oct-18 11:06
memberVictor Nijegorodov31-Oct-18 11:06 
GeneralRe: Print Bitmap from Printing Class Library Pin
Victor Nijegorodov31-Oct-18 8:43
memberVictor Nijegorodov31-Oct-18 8:43 
AnswerRe: Print Bitmap from Printing Class Library Pin
leon de boer31-Oct-18 17:27
memberleon de boer31-Oct-18 17:27 
QuestionReferencing a class in other in a other class Pin
ForNow28-Oct-18 3:43
memberForNow28-Oct-18 3:43 
AnswerRe: Referencing a class in other in a other class Pin
Victor Nijegorodov28-Oct-18 7:35
memberVictor Nijegorodov28-Oct-18 7:35 
GeneralRe: Referencing a class in other in a other class Pin
ForNow28-Oct-18 7:37
memberForNow28-Oct-18 7:37 
GeneralRe: Referencing a class in other in a other class Pin
Richard MacCutchan28-Oct-18 11:34
protectorRichard MacCutchan28-Oct-18 11:34 
GeneralRe: Referencing a class in other in a other class Pin
Stefan_Lang31-Oct-18 3:59
memberStefan_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)

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.


Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190619.2 | Last Updated 19 Jun 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid