Click here to Skip to main content
15,891,867 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C fread to read 512k binary file Pin
Fossi Bluman11-Aug-16 6:56
Fossi Bluman11-Aug-16 6:56 
AnswerRe: C fread to read 512k binary file Pin
Software_Developer20-Aug-16 0:03
Software_Developer20-Aug-16 0:03 
GeneralRe: C fread to read 512k binary file Pin
Fossi Bluman23-Aug-16 6:45
Fossi Bluman23-Aug-16 6:45 
QuestionVector as function return Pin
Donguy19769-Aug-16 15:40
Donguy19769-Aug-16 15:40 
AnswerRe: Vector as function return Pin
Richard MacCutchan9-Aug-16 20:57
mveRichard MacCutchan9-Aug-16 20:57 
QuestionAdding Text to the Frame Of a Dialog Pin
ForNow9-Aug-16 4:39
ForNow9-Aug-16 4:39 
AnswerRe: Adding Text to the Frame Of a Dialog Pin
jeron19-Aug-16 8:33
jeron19-Aug-16 8:33 
GeneralRe: Adding Text to the Frame Of a Dialog Pin
ForNow9-Aug-16 13:07
ForNow9-Aug-16 13:07 
AnswerRe: Adding Text to the Frame Of a Dialog Pin
leon de boer9-Aug-16 19:05
leon de boer9-Aug-16 19:05 
GeneralRe: Adding Text to the Frame Of a Dialog Pin
ForNow10-Aug-16 3:47
ForNow10-Aug-16 3:47 
SuggestionRe: Adding Text to the Frame Of a Dialog Pin
David Crow10-Aug-16 5:41
David Crow10-Aug-16 5:41 
GeneralRe: Adding Text to the Frame Of a Dialog Pin
leon de boer10-Aug-16 17:07
leon de boer10-Aug-16 17:07 
GeneralRe: Adding Text to the Frame Of a Dialog Pin
ForNow10-Aug-16 20:31
ForNow10-Aug-16 20:31 
GeneralRe: Adding Text to the Frame Of a Dialog Pin
leon de boer11-Aug-16 3:00
leon de boer11-Aug-16 3:00 
GeneralRe: Adding Text to the Frame Of a Dialog Pin
ForNow11-Aug-16 3:18
ForNow11-Aug-16 3:18 
GeneralRe: Adding Text to the Frame Of a Dialog Pin
ForNow11-Aug-16 2:58
ForNow11-Aug-16 2:58 
AnswerRe: Adding Text to the Frame Of a Dialog Pin
Richard MacCutchan9-Aug-16 20:49
mveRichard MacCutchan9-Aug-16 20:49 
Questionconst "getter" but updating on request? Pin
FriendOfAsherah8-Aug-16 21:20
FriendOfAsherah8-Aug-16 21:20 
AnswerRe: const "getter" but updating on request? Pin
Jochen Arndt8-Aug-16 23:46
professionalJochen Arndt8-Aug-16 23:46 
FriendOfAsherah wrote:
But there is one silly stupid use of the getCond() where the Update() is done in the getCond() code

There is only one clean solution:
Remove the wrong implementation and replace calls of it by two calls to UpdateCond() and getCond().

You may also change UpdateCond() to return the state instead of returning nothing. This will not affect existing code calling UpdateCond() but allows you to use it instead of the non-const getCond() function.
GeneralRe: const "getter" but updating on request? Pin
FriendOfAsherah9-Aug-16 2:30
FriendOfAsherah9-Aug-16 2:30 
GeneralRe: const "getter" but updating on request? Pin
Jochen Arndt9-Aug-16 3:03
professionalJochen Arndt9-Aug-16 3:03 
QuestionGrowing Pains Going from Debug to Release Pin
ForNow8-Aug-16 9:19
ForNow8-Aug-16 9:19 
AnswerRe: Growing Pains Going from Debug to Release Pin
CPallini8-Aug-16 20:31
mveCPallini8-Aug-16 20:31 
GeneralRe: Growing Pains Going from Debug to Release Pin
ForNow8-Aug-16 21:15
ForNow8-Aug-16 21:15 
QuestionC programming Pin
Kofi_Tommy7-Aug-16 8:16
Kofi_Tommy7-Aug-16 8:16 

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.