Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDocument/View Problem Pin
nick2reg6-May-09 6:30
nick2reg6-May-09 6:30 
AnswerRe: Document/View Problem Pin
Iain Clarke, Warrior Programmer6-May-09 7:00
Iain Clarke, Warrior Programmer6-May-09 7:00 
GeneralRe: Document/View Problem Pin
nick2reg6-May-09 8:08
nick2reg6-May-09 8:08 
AnswerRe: Document/View Problem Pin
Stuart Dootson6-May-09 7:01
professionalStuart Dootson6-May-09 7:01 
GeneralRe: Document/View Problem Pin
nick2reg6-May-09 8:10
nick2reg6-May-09 8:10 
AnswerRe: Document/View Problem Pin
David Crow6-May-09 8:48
David Crow6-May-09 8:48 
QuestionAssignment of read only location, class with const method trying to write to private member variable [modified] Pin
jeweladdict6-May-09 6:25
jeweladdict6-May-09 6:25 
AnswerRe: Assignment of read only location, class with const method trying to write to private member variable Pin
Stuart Dootson6-May-09 6:48
professionalStuart Dootson6-May-09 6:48 
jeweladdict wrote:
private unsigned char array


I presume it's private in your derived class (it's difficult to tell, as you haven't posted the code...). In that case, declare it as mutable. That way you can modify it even in a const method.

However, unless (say) the array is a cache, is the design correct?

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: Assignment of read only location, class with const method trying to write to private member variable Pin
jeweladdict6-May-09 7:07
jeweladdict6-May-09 7:07 
Questionplease help us , it`s very hard Pin
trongduy6-May-09 4:55
trongduy6-May-09 4:55 
AnswerRe: please help us , it`s very hard Pin
Rajesh R Subramanian6-May-09 5:00
professionalRajesh R Subramanian6-May-09 5:00 
GeneralRe: please help us , it`s very hard Pin
trongduy7-May-09 4:18
trongduy7-May-09 4:18 
Generalit`s very hard so i can`t code, please code it for me Pin
trongduy8-May-09 4:21
trongduy8-May-09 4:21 
AnswerRe: please help us , it`s very hard Pin
Luc Pattyn6-May-09 5:17
sitebuilderLuc Pattyn6-May-09 5:17 
GeneralRe: please help us , it`s very hard Pin
trongduy7-May-09 4:19
trongduy7-May-09 4:19 
AnswerRe: please help us , it`s very hard Pin
David Crow6-May-09 8:52
David Crow6-May-09 8:52 
AnswerRe: please help us , it`s very hard Pin
enhzflep6-May-09 15:12
enhzflep6-May-09 15:12 
Questionchanging the color of my controls to white using OnCtlColor Pin
brucewayn6-May-09 4:52
brucewayn6-May-09 4:52 
AnswerRe: changing the color of my controls to white using OnCtlColor Pin
Code-o-mat6-May-09 8:30
Code-o-mat6-May-09 8:30 
QuestionSynchronization issue Pin
Ahmed Charfeddine6-May-09 4:50
Ahmed Charfeddine6-May-09 4:50 
AnswerRe: Synchronization issue Pin
Stuart Dootson6-May-09 5:18
professionalStuart Dootson6-May-09 5:18 
QuestionHelp about Message loop please Pin
reply2am6-May-09 4:47
reply2am6-May-09 4:47 
QuestionProblem with LockWorkStation() function Pin
naro246-May-09 4:23
naro246-May-09 4:23 
AnswerRe: Problem with LockWorkStation() function ( not so much ) Pin
led mike6-May-09 4:29
led mike6-May-09 4:29 
GeneralRe: Problem with LockWorkStation() function ( not so much ) Pin
Rajesh R Subramanian6-May-09 4:45
professionalRajesh R Subramanian6-May-09 4:45 

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.