Click here to Skip to main content
14,302,372 members

C / C++ / MFC

 
GeneralRe: Popularity Of C among developer Pin
Victor Nijegorodov15-Apr-19 5:38
memberVictor Nijegorodov15-Apr-19 5:38 
AnswerRe: Popularity Of C among developer Pin
CPallini15-Apr-19 1:34
mveCPallini15-Apr-19 1:34 
GeneralRe: Popularity Of C among developer Pin
Maciej Los15-Apr-19 2:06
protectorMaciej Los15-Apr-19 2:06 
GeneralRe: Popularity Of C among developer Pin
CPallini15-Apr-19 10:19
mveCPallini15-Apr-19 10:19 
AnswerRe: Popularity Of C among developer Pin
Abhays0115-Apr-19 18:42
memberAbhays0115-Apr-19 18:42 
GeneralRe: Popularity Of C among developer Pin
David Crow16-Apr-19 16:56
memberDavid Crow16-Apr-19 16:56 
GeneralRe: Popularity Of C among developer Pin
Richard MacCutchan16-Apr-19 21:07
protectorRichard MacCutchan16-Apr-19 21:07 
GeneralRe: Popularity Of C among developer Pin
Dar Brett17-Apr-19 1:43
memberDar Brett17-Apr-19 1:43 

In object oriented programming languages, encapsulation is used to refer to one of two related but distinct notions, and sometimes to the combination thereof:
- A language mechanism for restricting direct access to some of the object's components.
- A language construct that facilitates the bundling of data with the methods (or other functions) operating on that data.

Opaque structs in C fit at least one of those definitions for abstraction. You could probably make the case that since you'd need to bundle the opaque struct with some subroutines to manipulate it that you're basically writing methods - the only difference is the class keyword and the lack of an implicit *this* pointer.
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 
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 

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.