Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: If Else inside Switch possible ? Pin
Cillieacc0rd5o427-Jun-05 20:08
Cillieacc0rd5o427-Jun-05 20:08 
GeneralRe: If Else inside Switch possible ? Pin
Cillieacc0rd5o427-Jun-05 21:24
Cillieacc0rd5o427-Jun-05 21:24 
GeneralRe: If Else inside Switch possible ? Pin
David Crow28-Jun-05 2:47
David Crow28-Jun-05 2:47 
AnswerRe: If Else inside Switch possible ? Pin
David Crow28-Jun-05 2:38
David Crow28-Jun-05 2:38 
AnswerRe: If Else inside Switch possible ? Pin
John R. Shaw29-Jun-05 9:41
John R. Shaw29-Jun-05 9:41 
GeneralTransfer of data between Embedded property pages to the main property pages Pin
Member 3238127-Jun-05 19:34
Member 3238127-Jun-05 19:34 
GeneralRe: Transfer of data between Embedded property pages to the main property pages Pin
Rage27-Jun-05 21:23
professionalRage27-Jun-05 21:23 
GeneralConversion from String to Time_t Pin
Jun_Misugi27-Jun-05 18:45
Jun_Misugi27-Jun-05 18:45 
Hello folks,

I need some help with my C++ program, hope you can offer it to me.
I used fout<<time(0); to write the actual time to a file.
Now I need to transform the string which I retrieve from the file, back to time_t type, to be able to use the difftime function to calculate the time difference between time1 and time2 in seconds.

The problem is, that I am not able to test the time function at the moment, so it might also be possible to use difftime without transformation. I hope you can tell me, if this is so.


Hopefully I managed to describe my problem in an understandable way, as I am no native english speaker.

Best Regards, Jun_Misugi
GeneralRe: Conversion from String to Time_t Pin
David Crow28-Jun-05 2:52
David Crow28-Jun-05 2:52 
GeneralRe: Conversion from String to Time_t Pin
Jun_Misugi28-Jun-05 6:04
Jun_Misugi28-Jun-05 6:04 
GeneralRe: Conversion from String to Time_t Pin
David Crow28-Jun-05 6:08
David Crow28-Jun-05 6:08 
Generalicon/image in status bar Pin
wasife27-Jun-05 18:01
wasife27-Jun-05 18:01 
GeneralRe: icon/image in status bar Pin
Christian Graus27-Jun-05 18:18
protectorChristian Graus27-Jun-05 18:18 
GeneralHELP... Urgent - Specifying Printer &quot;Output Tray&quot; (Output Bin) Pin
RYU^^27-Jun-05 17:55
RYU^^27-Jun-05 17:55 
QuestionHow to change task-list icon? Pin
Nerd-o-rama27-Jun-05 16:38
Nerd-o-rama27-Jun-05 16:38 
QuestionHow to Create Radio buttons dynamically Pin
zhaopi27-Jun-05 14:50
zhaopi27-Jun-05 14:50 
AnswerRe: How to Create Radio buttons dynamically Pin
Christian Graus27-Jun-05 15:04
protectorChristian Graus27-Jun-05 15:04 
GeneralRe: How to Create Radio buttons dynamically Pin
zhaopi27-Jun-05 15:16
zhaopi27-Jun-05 15:16 
GeneralRe: How to Create Radio buttons dynamically Pin
Christian Graus27-Jun-05 15:28
protectorChristian Graus27-Jun-05 15:28 
GeneralRe: How to Create Radio buttons dynamically Pin
zhaopi27-Jun-05 15:37
zhaopi27-Jun-05 15:37 
GeneralRe: How to Create Radio buttons dynamically Pin
zhaopi27-Jun-05 15:45
zhaopi27-Jun-05 15:45 
GeneralRe: How to Create Radio buttons dynamically Pin
Christian Graus27-Jun-05 15:55
protectorChristian Graus27-Jun-05 15:55 
GeneralRe: How to Create Radio buttons dynamically Pin
David Crow28-Jun-05 2:56
David Crow28-Jun-05 2:56 
GeneralBitmap button edge Pin
Junyor27-Jun-05 11:30
Junyor27-Jun-05 11:30 
GeneralRe: Bitmap button edge Pin
Ravi Bhavnani27-Jun-05 13:07
professionalRavi Bhavnani27-Jun-05 13:07 

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.