Click here to Skip to main content
14,638,188 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
QuestionUsing hex in an array and "scanning" for it fails. Pin
Vaclav_20-Jan-19 14:51
MemberVaclav_20-Jan-19 14:51 
AnswerRe: Using hex in an array and "scanning" for it fails. Pin
Peter_in_278020-Jan-19 15:27
professionalPeter_in_278020-Jan-19 15:27 
GeneralRe: Using hex in an array and "scanning" for it fails. SOLVED Pin
Vaclav_20-Jan-19 16:57
MemberVaclav_20-Jan-19 16:57 
GeneralRe: Using hex in an array and "scanning" for it fails. SOLVED Pin
CPallini20-Jan-19 20:32
mveCPallini20-Jan-19 20:32 
GeneralRe: Using hex in an array and "scanning" for it fails. SOLVED Pin
Vaclav_21-Jan-19 6:42
MemberVaclav_21-Jan-19 6:42 
QuestionComplex multidimensional array in C++ Pin
Vaclav_19-Jan-19 18:27
MemberVaclav_19-Jan-19 18:27 
AnswerRe: Complex multidimensional array in C++ Pin
Richard MacCutchan19-Jan-19 21:34
mveRichard MacCutchan19-Jan-19 21:34 
GeneralRe: Complex multidimensional array in C++ Pin
Daniel Pfeffer19-Jan-19 21:48
professionalDaniel Pfeffer19-Jan-19 21:48 
GeneralRe: Complex multidimensional array in C++ Pin
Richard MacCutchan19-Jan-19 22:14
mveRichard MacCutchan19-Jan-19 22:14 
GeneralRe: Complex multidimensional array in C++ Pin
Daniel Pfeffer19-Jan-19 22:17
professionalDaniel Pfeffer19-Jan-19 22:17 
GeneralRe: Complex multidimensional array in C++ Pin
Vaclav_20-Jan-19 4:39
MemberVaclav_20-Jan-19 4:39 
GeneralRe: Complex multidimensional array in C++ Pin
Richard MacCutchan20-Jan-19 5:06
mveRichard MacCutchan20-Jan-19 5:06 
GeneralRe: Complex multidimensional array in C++ Pin
Vaclav_20-Jan-19 7:15
MemberVaclav_20-Jan-19 7:15 
GeneralRe: Complex multidimensional array in C++ Pin
k505420-Jan-19 8:47
mvek505420-Jan-19 8:47 
GeneralRe: Complex multidimensional array in C++ Pin
k505420-Jan-19 8:52
mvek505420-Jan-19 8:52 
GeneralRe: Complex multidimensional array in C++ Pin
Vaclav_21-Jan-19 6:56
MemberVaclav_21-Jan-19 6:56 
GeneralRe: Complex multidimensional array in C++ Pin
Richard MacCutchan21-Jan-19 22:36
mveRichard MacCutchan21-Jan-19 22:36 
AnswerRe: Complex multidimensional array in C++ Pin
k505420-Jan-19 4:54
mvek505420-Jan-19 4:54 
GeneralRe: Complex multidimensional array in C++ Pin
Vaclav_20-Jan-19 10:13
MemberVaclav_20-Jan-19 10:13 
AnswerRe: Complex multidimensional array in C++ Pin
Stefan_Lang20-Jan-19 21:29
mveStefan_Lang20-Jan-19 21:29 
Questionis there any relation object states control and encapsulation? Pin
nig3D19-Jan-19 8:05
Membernig3D19-Jan-19 8:05 
AnswerRe: is there any relation object states control and encapsulation? Pin
phil.o19-Jan-19 9:41
mvephil.o19-Jan-19 9:41 
AnswerRe: is there any relation object states control and encapsulation? Pin
CPallini19-Jan-19 10:34
mveCPallini19-Jan-19 10:34 
JokeRe: is there any relation object states control and encapsulation? Pin
Peter_in_278019-Jan-19 10:51
professionalPeter_in_278019-Jan-19 10:51 
GeneralRe: is there any relation object states control and encapsulation? Pin
nig3D20-Jan-19 4:23
Membernig3D20-Jan-19 4:23 
I really like this analogy and I will steal it for my article. However argument is that encapsulation eventually doesn't solve the problem its meant to solve and it's flawed. I know it's controversial, but after some research, I found out I am not the only one who got to this conclusion Object-Oriented Programming: A Disaster Story – Brian Will – Medium[^]. The controversial part is that people can argue that Encapsulation does its job (like in the case of the car), but OOP doesn't help, with its flexibility, to not break the car. If I can break the car easily, what's the point of the encapsulation to start with? Of course Encapsualtion as hiding of complexity is absolutely valid. Hence I think this problem I am trying to formalise, which is the possibility to set a valid state at the wrong time, may need another name. I will link the article here before to make it public, as I'd like your feedback.

modified 20-Jan-19 10:34am.

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.