Click here to Skip to main content
15,868,164 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: algorithm for an optimization problem Pin
OriginalGriff22-Oct-17 9:32
mveOriginalGriff22-Oct-17 9:32 
GeneralRe: algorithm for an optimization problem Pin
Member 1347898622-Oct-17 10:08
Member 1347898622-Oct-17 10:08 
GeneralRe: algorithm for an optimization problem Pin
OriginalGriff22-Oct-17 10:16
mveOriginalGriff22-Oct-17 10:16 
PraiseRe: algorithm for an optimization problem Pin
David Crow22-Oct-17 16:45
David Crow22-Oct-17 16:45 
GeneralRe: algorithm for an optimization problem Pin
Bram van Kampen22-Oct-17 17:40
Bram van Kampen22-Oct-17 17:40 
AnswerRe: algorithm for an optimization problem Pin
CPallini22-Oct-17 22:17
mveCPallini22-Oct-17 22:17 
AnswerRe: algorithm for an optimization problem Pin
jschell23-Oct-17 7:28
jschell23-Oct-17 7:28 
QuestionCMonthCalCtrlDlg and the 2038 problem Pin
Member 1345973322-Oct-17 6:13
Member 1345973322-Oct-17 6:13 
I have a heating control application that is based on some C++ code and some Arduino code. Having "woken up" to the 2038 timebomb, I am currently converting my code to cope with this (even though I shall in all probablity be "pushing up the daisies" by then !! ). As I believe Arduino uses 32 bit unsigned time variables, I believe it is OK after 2038 I am running MSVC 6.0 and, being of limited means, do not want to upgrade to 7.0 (or higher ) which I believe introduces a 64-bit version of the CTime class whicjh will cope with the situation. Having discovered an alternative solution ( Time64 - 64 bit Times for 32 bit Windows Apps[^] )I am doing this by abandoning CTime and replacing the code with 64-bit variables and using system calls. However, does anybody know if the MFC class CMonthCalCtrl is susceptible to the 2038 problem (as it DOES use CTime objects as parameters to it's functions) or am I 2038-safe by only employing calls using the SYSTEMTIME parameter ? I could test this but thought that I would ask the experts anyway!! Any help appreciated !
QuestionRe: CMonthCalCtrlDlg and the 2038 problem Pin
David Crow22-Oct-17 16:56
David Crow22-Oct-17 16:56 
AnswerRe: CMonthCalCtrlDlg and the 2038 problem Pin
Jochen Arndt22-Oct-17 22:45
professionalJochen Arndt22-Oct-17 22:45 
GeneralRe: CMonthCalCtrlDlg and the 2038 problem Pin
Member 1345973323-Oct-17 2:52
Member 1345973323-Oct-17 2:52 
QuestionC++ Queue and Stacks Pin
Member 1347847922-Oct-17 1:47
Member 1347847922-Oct-17 1:47 
AnswerRe: C++ Queue and Stacks Pin
CPallini22-Oct-17 5:02
mveCPallini22-Oct-17 5:02 
AnswerRe: C++ Queue and Stacks Pin
Richard MacCutchan22-Oct-17 11:15
mveRichard MacCutchan22-Oct-17 11:15 
AnswerRe: C++ Queue and Stacks Pin
David Crow22-Oct-17 17:02
David Crow22-Oct-17 17:02 
AnswerRe: C++ Queue and Stacks Pin
jschell23-Oct-17 7:30
jschell23-Oct-17 7:30 
QuestionFind out optimum volume for packing different boxes Pin
Member 1347639321-Oct-17 18:25
Member 1347639321-Oct-17 18:25 
AnswerRe: Find out optimum volume for packing different boxes Pin
Richard MacCutchan21-Oct-17 20:48
mveRichard MacCutchan21-Oct-17 20:48 
GeneralRe: Find out optimum volume for packing different boxes Pin
Sascha Lefèvre21-Oct-17 21:01
professionalSascha Lefèvre21-Oct-17 21:01 
AnswerRe: Find out optimum volume for packing different boxes Pin
CPallini22-Oct-17 5:07
mveCPallini22-Oct-17 5:07 
GeneralRe: Find out optimum volume for packing different boxes Pin
David Crow22-Oct-17 17:03
David Crow22-Oct-17 17:03 
QuestionCan I put a variable length array inside a struct somehow? Pin
arnold_w17-Oct-17 0:38
arnold_w17-Oct-17 0:38 
AnswerRe: Can I put a variable length array inside a struct somehow? Pin
Peter_in_278017-Oct-17 0:57
professionalPeter_in_278017-Oct-17 0:57 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
arnold_w17-Oct-17 1:08
arnold_w17-Oct-17 1:08 
GeneralRe: Can I put a variable length array inside a struct somehow? Pin
Peter_in_278017-Oct-17 1:43
professionalPeter_in_278017-Oct-17 1:43 

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.