Click here to Skip to main content
15,918,516 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Vector of Class with Array Pin
T Bones Jones22-Apr-19 4:52
T Bones Jones22-Apr-19 4:52 
GeneralRe: Vector of Class with Array Pin
Richard MacCutchan22-Apr-19 5:52
mveRichard MacCutchan22-Apr-19 5:52 
GeneralRe: Vector of Class with Array Pin
Gerry Schmitz22-Apr-19 8:54
mveGerry Schmitz22-Apr-19 8:54 
QuestionConcept of namespace Pin
Aakashdata16-Apr-19 21:14
Aakashdata16-Apr-19 21:14 
AnswerRe: Concept of namespace Pin
Richard MacCutchan16-Apr-19 22:19
mveRichard MacCutchan16-Apr-19 22:19 
AnswerRe: Concept of namespace Pin
CPallini17-Apr-19 2:06
mveCPallini17-Apr-19 2:06 
AnswerRe: Concept of namespace Pin
harshalipatel17-Apr-19 2:19
harshalipatel17-Apr-19 2:19 
GeneralRe: Concept of namespace Pin
leon de boer20-Apr-19 0:11
leon de boer20-Apr-19 0:11 
GeneralRe: Concept of namespace Pin
Richard MacCutchan20-Apr-19 1:32
mveRichard MacCutchan20-Apr-19 1:32 
GeneralRe: Concept of namespace Pin
jschell21-Apr-19 7:33
jschell21-Apr-19 7:33 
QuestionPopularity Of C among developer Pin
Aakashdata14-Apr-19 21:31
Aakashdata14-Apr-19 21:31 
QuestionRe: Popularity Of C among developer Pin
Richard MacCutchan14-Apr-19 21:32
mveRichard MacCutchan14-Apr-19 21:32 
AnswerRe: Popularity Of C among developer Pin
Victor Nijegorodov14-Apr-19 21:40
Victor Nijegorodov14-Apr-19 21:40 
GeneralRe: Popularity Of C among developer Pin
Richard MacCutchan14-Apr-19 23:40
mveRichard MacCutchan14-Apr-19 23:40 
GeneralRe: Popularity Of C among developer Pin
CPallini15-Apr-19 1:33
mveCPallini15-Apr-19 1:33 
GeneralRe: Popularity Of C among developer Pin
Richard MacCutchan15-Apr-19 3:01
mveRichard MacCutchan15-Apr-19 3:01 
GeneralRe: Popularity Of C among developer Pin
Daniel Pfeffer15-Apr-19 4:19
professionalDaniel Pfeffer15-Apr-19 4:19 
GeneralRe: Popularity Of C among developer Pin
Victor Nijegorodov15-Apr-19 5:38
Victor 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
mveMaciej 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
Abhays0115-Apr-19 18:42 
GeneralRe: Popularity Of C among developer Pin
David Crow16-Apr-19 16:56
David Crow16-Apr-19 16:56 
GeneralRe: Popularity Of C among developer Pin
Richard MacCutchan16-Apr-19 21:07
mveRichard MacCutchan16-Apr-19 21:07 
GeneralRe: Popularity Of C among developer Pin
Dar Brett17-Apr-19 1:43
Dar 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.

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.