Click here to Skip to main content
15,899,314 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: crash related to CString acces violating Pin
MrKBA8-Dec-10 4:50
MrKBA8-Dec-10 4:50 
AnswerRe: crash related to CString acces violating Pin
Alain Rist8-Dec-10 5:12
Alain Rist8-Dec-10 5:12 
AnswerRe: crash related to CString acces violating Pin
mbue9-Dec-10 14:07
mbue9-Dec-10 14:07 
QuestionProgramme to add given no of days to the current date to give the resulted date Pin
cmaheshwari167-Dec-10 17:49
cmaheshwari167-Dec-10 17:49 
AnswerRe: Programme to add given no of days to the current date to give the resulted date Pin
Richard MacCutchan7-Dec-10 22:23
mveRichard MacCutchan7-Dec-10 22:23 
GeneralRe: Programme to add given no of days to the current date to give the resulted date Pin
cmaheshwari167-Dec-10 23:46
cmaheshwari167-Dec-10 23:46 
GeneralRe: Programme to add given no of days to the current date to give the resulted date Pin
Richard MacCutchan8-Dec-10 2:53
mveRichard MacCutchan8-Dec-10 2:53 
GeneralRe: Programme to add given no of days to the current date to give the resulted date Pin
cmaheshwari169-Dec-10 18:07
cmaheshwari169-Dec-10 18:07 
Thanks Richard.....

But I was expecting some live example to get the clear understanding...

Its now done by using the below way

just creating the object of struct tm

and then giving the values to the variables of the structure

adding the days to the tm_mday variable

using the mktime() function, converting it back to a structure.....

and then accessing the required values with the structure variable...


I still want to understand the use of the time_t.......if u can......
GeneralRe: Programme to add given no of days to the current date to give the resulted date Pin
Richard MacCutchan9-Dec-10 22:35
mveRichard MacCutchan9-Dec-10 22:35 
GeneralRe: Programme to add given no of days to the current date to give the resulted date Pin
cmaheshwari1610-Dec-10 1:10
cmaheshwari1610-Dec-10 1:10 
GeneralRe: Programme to add given no of days to the current date to give the resulted date Pin
Richard MacCutchan10-Dec-10 2:44
mveRichard MacCutchan10-Dec-10 2:44 
QuestionHow to read the all Guids defined in abcd_i.c file from pdb Pin
glitteringsound6-Dec-10 23:09
glitteringsound6-Dec-10 23:09 
Questioni have a question about for_each Pin
lxlenovostar3-Dec-10 6:24
lxlenovostar3-Dec-10 6:24 
AnswerRe: i have a question about for_each Pin
Alain Rist3-Dec-10 23:30
Alain Rist3-Dec-10 23:30 
AnswerRe: i have a question about for_each Pin
xtofl6-Dec-10 4:18
xtofl6-Dec-10 4:18 
QuestionLinear Algebra with C++ Pin
VeganFanatic30-Nov-10 13:25
VeganFanatic30-Nov-10 13:25 
AnswerRe: Linear Algebra with C++ Pin
jean Davy15-Dec-10 11:06
jean Davy15-Dec-10 11:06 
QuestionHow to change active tab in tabbed MFC Pin
josip cagalj30-Nov-10 3:31
josip cagalj30-Nov-10 3:31 
QuestionQuestion about WTL CScrollImpl Pin
extremjoy29-Nov-10 21:34
extremjoy29-Nov-10 21:34 
AnswerRe: Question about WTL CScrollImpl Pin
Alain Rist29-Nov-10 22:34
Alain Rist29-Nov-10 22:34 
Questionhello, i have a question about char and int Pin
lxlenovostar29-Nov-10 0:22
lxlenovostar29-Nov-10 0:22 
AnswerRe: hello, i have a question about char and int Pin
Cool_Dev29-Nov-10 1:57
Cool_Dev29-Nov-10 1:57 
AnswerRe: hello, i have a question about char and int Pin
Richard MacCutchan29-Nov-10 3:40
mveRichard MacCutchan29-Nov-10 3:40 
Question[SOLVED] COM Dll Not Getting Registered In Windows Server 2008 [modified] Pin
MANISH RASTOGI26-Nov-10 18:20
MANISH RASTOGI26-Nov-10 18:20 
Questionrenaming files Pin
khomeyni20-Nov-10 7:46
khomeyni20-Nov-10 7:46 

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.