Click here to Skip to main content
14,336,236 members

C / C++ / MFC

 
GeneralRe: Popularity Of C among developer Pin
Dar Brett17-Apr-19 1:43
memberDar Brett17-Apr-19 1:43 
GeneralRe: Popularity Of C among developer Pin
Richard MacCutchan17-Apr-19 2:49
protectorRichard MacCutchan17-Apr-19 2:49 
QuestionRe: Popularity Of C among developer Pin
David Crow17-Apr-19 9:13
memberDavid Crow17-Apr-19 9:13 
AnswerRe: Popularity Of C among developer Pin
Richard MacCutchan17-Apr-19 21:29
protectorRichard MacCutchan17-Apr-19 21:29 
GeneralRe: Popularity Of C among developer Pin
David Crow17-Apr-19 2:35
memberDavid Crow17-Apr-19 2:35 
GeneralRe: Popularity Of C among developer Pin
Richard MacCutchan17-Apr-19 2:48
protectorRichard MacCutchan17-Apr-19 2:48 
GeneralRe: Popularity Of C among developer Pin
David Crow17-Apr-19 3:09
memberDavid Crow17-Apr-19 3:09 
GeneralRe: Popularity Of C among developer Pin
Richard MacCutchan17-Apr-19 3:27
protectorRichard MacCutchan17-Apr-19 3:27 
Putting the definition in a header file only matters if you are trying to access the struct in separate source modules; and that has nothing to do with encapsulation. And yes, of course you could do what you suggest above, but it serves little purpose since you can still access the data directly, and thus break the pseudo encapsulation. In OOP languages the data can actually be hidden from the users of the class, in C it cannot.
QuestionRe: Popularity Of C among developer Pin
David Crow17-Apr-19 3:50
memberDavid Crow17-Apr-19 3:50 
AnswerRe: Popularity Of C among developer Pin
Richard MacCutchan17-Apr-19 6:19
protectorRichard MacCutchan17-Apr-19 6:19 
GeneralRe: Popularity Of C among developer Pin
David Crow17-Apr-19 6:27
memberDavid Crow17-Apr-19 6:27 
GeneralRe: Popularity Of C among developer Pin
Richard MacCutchan17-Apr-19 6:35
protectorRichard MacCutchan17-Apr-19 6:35 
QuestionRe: Popularity Of C among developer Pin
David Crow17-Apr-19 7:00
memberDavid Crow17-Apr-19 7:00 
AnswerRe: Popularity Of C among developer Pin
Richard MacCutchan17-Apr-19 21:30
protectorRichard MacCutchan17-Apr-19 21:30 
AnswerRe: Popularity Of C among developer Pin
John R. Shaw19-Apr-19 8:47
memberJohn R. Shaw19-Apr-19 8:47 
GeneralRe: Popularity Of C among developer Pin
jschell21-Apr-19 7:46
memberjschell21-Apr-19 7:46 
AnswerRe: Popularity Of C among developer Pin
jschell21-Apr-19 7:35
memberjschell21-Apr-19 7:35 
QuestionGet menu color in MFC feature pack Pin
_Flaviu13-Apr-19 23:26
member_Flaviu13-Apr-19 23:26 
Question"Debug Assertion Failed at line: 252 in viewcore.CPP" Pin
manoharbalu10-Apr-19 18:21
membermanoharbalu10-Apr-19 18:21 
AnswerRe: "Debug Assertion Failed at line: 252 in viewcore.CPP" Pin
Victor Nijegorodov10-Apr-19 20:58
memberVictor Nijegorodov10-Apr-19 20:58 
QuestionRe: "Debug Assertion Failed at line: 252 in viewcore.CPP" Pin
David Crow11-Apr-19 10:33
memberDavid Crow11-Apr-19 10:33 
QuestionProblem when I run the application using cntrl+F5. Wintech OPC DLL Pin
D.Manivelan8-Apr-19 4:02
memberD.Manivelan8-Apr-19 4:02 
AnswerRe: Problem when I run the application using cntrl+F5. Wintech OPC DLL Pin
11917640 Member 9-Apr-19 22:57
member11917640 Member 9-Apr-19 22:57 
GeneralRe: Problem when I run the application using cntrl+F5. Wintech OPC DLL Pin
D.Manivelan10-Apr-19 19:04
memberD.Manivelan10-Apr-19 19:04 
GeneralRe: Problem when I run the application using cntrl+F5. Wintech OPC DLL Pin
Victor Nijegorodov10-Apr-19 20:55
memberVictor Nijegorodov10-Apr-19 20: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.