Click here to Skip to main content
15,890,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: STL list vs multi set Pin
73Zeppelin31-Jan-08 3:29
73Zeppelin31-Jan-08 3:29 
GeneralRe: STL list vs multi set Pin
minkowski31-Jan-08 3:31
minkowski31-Jan-08 3:31 
GeneralRe: STL list vs multi set Pin
73Zeppelin31-Jan-08 3:50
73Zeppelin31-Jan-08 3:50 
GeneralRe: STL list vs multi set Pin
Shog931-Jan-08 8:03
sitebuilderShog931-Jan-08 8:03 
Generali don't know why both result same~ Pin
Jung Seng Won31-Jan-08 2:07
Jung Seng Won31-Jan-08 2:07 
GeneralRe: i don't know why both result same~ Pin
Chris Losinger31-Jan-08 2:26
professionalChris Losinger31-Jan-08 2:26 
GeneralRe: i don't know why both result same~ Pin
CPallini31-Jan-08 2:55
mveCPallini31-Jan-08 2:55 
GeneralRe: i don't know why both result same~ Pin
CPallini31-Jan-08 2:41
mveCPallini31-Jan-08 2:41 
From localtime documentation [^]

gmtime, mktime, and localtime all use a single statically allocated tm structure for the conversion. Each call to one of these routines destroys the result of the previous call.


hence both curr_tm and bir_tm point to the same static struct.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

[my articles]


GeneralProblem with Visual Studio Express 2005 [modified] Pin
73Zeppelin31-Jan-08 1:49
73Zeppelin31-Jan-08 1:49 
GeneralRe: Problem with Visual Studio Express 2005 Pin
CPallini31-Jan-08 2:20
mveCPallini31-Jan-08 2:20 
GeneralRe: Problem with Visual Studio Express 2005 Pin
73Zeppelin31-Jan-08 2:37
73Zeppelin31-Jan-08 2:37 
GeneralRe: Problem with Visual Studio Express 2005 Pin
CPallini31-Jan-08 3:03
mveCPallini31-Jan-08 3:03 
GeneralRe: Problem with Visual Studio Express 2005 Pin
73Zeppelin31-Jan-08 3:16
73Zeppelin31-Jan-08 3:16 
GeneralPardon. Pin
CPallini31-Jan-08 3:27
mveCPallini31-Jan-08 3:27 
GeneralRe: Pardon. Pin
73Zeppelin31-Jan-08 3:54
73Zeppelin31-Jan-08 3:54 
GeneralExporting Makefile inVC++.Net (2005) Pin
Rajesh_Parameswaran31-Jan-08 1:36
Rajesh_Parameswaran31-Jan-08 1:36 
GeneralRe: Exporting Makefile inVC++.Net (2005) Pin
73Zeppelin31-Jan-08 2:52
73Zeppelin31-Jan-08 2:52 
GeneralRe: Exporting Makefile inVC++.Net (2005) Pin
KarstenK31-Jan-08 3:41
mveKarstenK31-Jan-08 3:41 
GeneralRe: Exporting Makefile inVC++.Net (2005) Pin
73Zeppelin31-Jan-08 3:56
73Zeppelin31-Jan-08 3:56 
GeneralRe: Exporting Makefile inVC++.Net (2005) Pin
Rajesh_Parameswaran31-Jan-08 3:56
Rajesh_Parameswaran31-Jan-08 3:56 
GeneralRe: Exporting Makefile inVC++.Net (2005) Pin
73Zeppelin31-Jan-08 4:00
73Zeppelin31-Jan-08 4:00 
GeneralNeed help regrading making a control transparent when rendering video Pin
yaminisridaran31-Jan-08 0:36
yaminisridaran31-Jan-08 0:36 
GeneralRe: Need help regrading making a control transparent when rendering video Pin
sarat1-Feb-08 1:25
sarat1-Feb-08 1:25 
QuestionHow to print a String class string to a txt file Pin
Cabomba30-Jan-08 22:59
Cabomba30-Jan-08 22:59 
AnswerRe: How to print a String class string to a txt file Pin
Iain Clarke, Warrior Programmer30-Jan-08 23:09
Iain Clarke, Warrior Programmer30-Jan-08 23:09 

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.