Click here to Skip to main content
15,917,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to solve memory resource management problems in C++ Pin
Richard MacCutchan3-Nov-18 4:51
mveRichard MacCutchan3-Nov-18 4:51 
AnswerRe: How to solve memory resource management problems in C++ Pin
元昊 潘3-Nov-18 5:04
元昊 潘3-Nov-18 5:04 
GeneralRe: How to solve memory resource management problems in C++ Pin
Richard MacCutchan3-Nov-18 10:02
mveRichard MacCutchan3-Nov-18 10:02 
AnswerRe: How to solve memory resource management problems in C++ Pin
元昊 潘3-Nov-18 16:26
元昊 潘3-Nov-18 16:26 
GeneralRe: How to solve memory resource management problems in C++ Pin
Richard MacCutchan3-Nov-18 21:17
mveRichard MacCutchan3-Nov-18 21:17 
AnswerRe: How to solve memory resource management problems in C++ Pin
元昊 潘3-Nov-18 22:00
元昊 潘3-Nov-18 22:00 
GeneralRe: How to solve memory resource management problems in C++ Pin
Richard MacCutchan3-Nov-18 22:18
mveRichard MacCutchan3-Nov-18 22:18 
GeneralRe: How to solve memory resource management problems in C++ Pin
元昊 潘3-Nov-18 22:30
元昊 潘3-Nov-18 22:30 
GeneralRe: How to solve memory resource management problems in C++ Pin
Richard MacCutchan3-Nov-18 22:34
mveRichard MacCutchan3-Nov-18 22:34 
PraiseRe: How to solve memory resource management problems in C++ Pin
元昊 潘3-Nov-18 23:44
元昊 潘3-Nov-18 23:44 
GeneralRe: How to solve memory resource management problems in C++ Pin
Stefan_Lang13-Nov-18 22:52
Stefan_Lang13-Nov-18 22:52 
GeneralRe: How to solve memory resource management problems in C++ Pin
meerokh7-Nov-18 0:39
meerokh7-Nov-18 0:39 
GeneralRe: How to solve memory resource management problems in C++ Pin
Stefan_Lang13-Nov-18 22:34
Stefan_Lang13-Nov-18 22:34 
QuestionShared sections in a DLL Pin
Bram van Kampen2-Nov-18 13:39
Bram van Kampen2-Nov-18 13:39 
AnswerRe: Shared sections in a DLL Pin
Afzaal Ahmad Zeeshan2-Nov-18 13:55
professionalAfzaal Ahmad Zeeshan2-Nov-18 13:55 
AnswerRe: Shared sections in a DLL Pin
11917640 Member 5-Nov-18 4:34
11917640 Member 5-Nov-18 4:34 
QuestionPrint Bitmap from Printing Class Library Pin
Member 1403961931-Oct-18 7:29
Member 1403961931-Oct-18 7:29 
AnswerRe: Print Bitmap from Printing Class Library Pin
Victor Nijegorodov31-Oct-18 8:15
Victor Nijegorodov31-Oct-18 8:15 
GeneralRe: Print Bitmap from Printing Class Library Pin
Member 1403961931-Oct-18 8:31
Member 1403961931-Oct-18 8:31 
GeneralRe: Print Bitmap from Printing Class Library Pin
Victor Nijegorodov31-Oct-18 8:37
Victor 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
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 
Hi
When have the following code

class a

{

int a;
LPCTSTR b;
c d;
}

where "c" is defined

class c
{


}

so if class a is in a.h and class c is in c.h

what is the difference between #include "c.h' in a.h or declaring class c; or as a better question what is the way to resolve the unresolved reference in a.h for the type "c" which is a class

is it to "include "c.h" or declare class c; that c is of type class and I guess in that case "c" will get resolved by the linker

Hope this question makes sense

thanks

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.