Click here to Skip to main content
15,796,661 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Delete the least number of integers from a given set of integers so that the product of the remaining integers in the set is a perfect square. Pin
Paul Conrad25-Oct-15 6:13
professionalPaul Conrad25-Oct-15 6:13 
QuestionPorting from MFC to QT Pin
HoanNguyen.UiT15-Oct-15 3:10
HoanNguyen.UiT15-Oct-15 3:10 
AnswerRe: Porting from MFC to QT Pin
CPallini15-Oct-15 3:14
mveCPallini15-Oct-15 3:14 
AnswerRe: Porting from MFC to QT Pin
Jochen Arndt15-Oct-15 3:30
professionalJochen Arndt15-Oct-15 3:30 
AnswerRe: Porting from MFC to QT Pin
Albert Holguin19-Oct-15 9:26
professionalAlbert Holguin19-Oct-15 9:26 
Questionget the a 2days time dif fromcurrent time. Pin
ramina sen11-Oct-15 21:21
ramina sen11-Oct-15 21:21 
AnswerRe: get the a 2days time dif fromcurrent time. Pin
Daniel Pfeffer11-Oct-15 22:07
professionalDaniel Pfeffer11-Oct-15 22:07 
AnswerRe: get the a 2days time dif fromcurrent time. Pin
Jochen Arndt11-Oct-15 22:23
professionalJochen Arndt11-Oct-15 22:23 
The time function returns the time as the number of seconds since the Epoch (1970-01-01 00:00:00 +0000 UTC). See also the C runtime time function: http://linux.die.net/man/2/time[^] (Linux) and https://msdn.microsoft.com/en-us/library/1f4c8f33.aspx[^] (Windows).

So you must add / subtract 60 * 60 * 2 = 7200 seconds to apply a difference of two days.
GeneralRe: get the a 2days time dif fromcurrent time. Pin
Peter_in_278011-Oct-15 22:31
professionalPeter_in_278011-Oct-15 22:31 
GeneralRe: get the a 2days time dif fromcurrent time. Pin
Jochen Arndt11-Oct-15 22:33
professionalJochen Arndt11-Oct-15 22:33 
AnswerRe: get the a 2days time dif fromcurrent time. Pin
CPallini11-Oct-15 22:35
mveCPallini11-Oct-15 22:35 
GeneralRe: get the a 2days time dif fromcurrent time. Pin
Daniel Pfeffer12-Oct-15 4:51
professionalDaniel Pfeffer12-Oct-15 4:51 
Questionhow to implement alpha-beta pruning (tic tac toe) Pin
cristianpff10-Oct-15 0:36
cristianpff10-Oct-15 0:36 
AnswerRe: how to implement alpha-beta pruning (tic tac toe) Pin
CPallini11-Oct-15 5:42
mveCPallini11-Oct-15 5:42 
GeneralRe: how to implement alpha-beta pruning (tic tac toe) Pin
cristianpff12-Oct-15 4:01
cristianpff12-Oct-15 4:01 
QuestionSet whole Data to a struct with BitFields Pin
FrankStar896-Oct-15 5:10
FrankStar896-Oct-15 5:10 
AnswerRe: Set whole Data to a struct with BitFields Pin
Albert Holguin6-Oct-15 5:50
professionalAlbert Holguin6-Oct-15 5:50 
AnswerRe: Set whole Data to a struct with BitFields Pin
Richard MacCutchan6-Oct-15 5:54
mveRichard MacCutchan6-Oct-15 5:54 
Questionhow to parse html code in c language Pin
Member 118352695-Oct-15 22:04
Member 118352695-Oct-15 22:04 
AnswerRe: how to parse html code in c language Pin
Richard MacCutchan5-Oct-15 23:00
mveRichard MacCutchan5-Oct-15 23:00 
QuestionC: Book recommendations Pin
Member 114893145-Oct-15 7:58
Member 114893145-Oct-15 7:58 
AnswerRe: C: Book recommendations Pin
Richard MacCutchan5-Oct-15 8:06
mveRichard MacCutchan5-Oct-15 8:06 
AnswerRe: C: Book recommendations Pin
Richard Andrew x645-Oct-15 13:09
professionalRichard Andrew x645-Oct-15 13:09 
GeneralRe: C: Book recommendations Pin
Albert Holguin6-Oct-15 5:59
professionalAlbert Holguin6-Oct-15 5:59 
QuestionWindows message for changing color scheme Pin
_Flaviu5-Oct-15 3:15
_Flaviu5-Oct-15 3:15 

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.