15,963,996 members
Home / Discussions / C / C++ / MFC

# C / C++ / MFC

 Thank u all. Sovled problem. the cause is WIn2k modules corrupted DengJW1-Mar-04 21:05 DengJW 1-Mar-04 21:05
 Creating child processes within a window perrymail20001-Mar-04 16:07 perrymail2000 1-Mar-04 16:07
 Re: Creating child processes within a window Joe Woodbury1-Mar-04 18:37 Joe Woodbury 1-Mar-04 18:37
 Creating child processes perrymail20001-Mar-04 16:02 perrymail2000 1-Mar-04 16:02
 Need Help Fast! Conditionals SeanP2841-Mar-04 14:56 SeanP284 1-Mar-04 14:56
 Re: Need Help Fast! Conditionals Anonymous1-Mar-04 16:18 Anonymous 1-Mar-04 16:18
 Re: Need Help Fast! Conditionals Daniel Turini1-Mar-04 19:32 Daniel Turini 1-Mar-04 19:32
 Re: Need Help Fast! Conditionals David Crow2-Mar-04 10:18 David Crow 2-Mar-04 10:18
 If you expressed each field as a ratio of that part of a day, you'd have something like: ```(12/24) + (23/1440) + (32/86400) = 0.5 + 0.015972 + 0.0003703 = 0.5163425926 (a little more than half a day)```Do the same for the second duration yields 0.5602662037. The sum of those is 1.0766087963, which is 1 day, 1 hour, 50 minutes, and 19 seconds. Or, you could add the fields individually, like: ```s3 = s1 + s2 if s3 >= 60 s3 = 0 m1 = m1 + 1 end m3 = m1 + m2 if m3 >= 60 m3 = 0 h1 = h1 + 1 end h3 = h1 + h2 if h3 >= 24 h3 = 0 d3 = 1 end print d3+" days,"+h3+" hours,"+m3+" minutes,"+s3+" seconds"``` "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
 Enumerated types satcat1-Mar-04 13:05 satcat 1-Mar-04 13:05
 Version writing APIs? Ravi Bhavnani1-Mar-04 12:55 Ravi Bhavnani 1-Mar-04 12:55
 Re: Version writing APIs? Steve S1-Mar-04 22:28 Steve S 1-Mar-04 22:28
 Re: Version writing APIs? Ravi Bhavnani2-Mar-04 2:47 Ravi Bhavnani 2-Mar-04 2:47
 Re: Version writing APIs? Steve S2-Mar-04 6:36 Steve S 2-Mar-04 6:36
 Super Easy C++ program help Joe Estes1-Mar-04 12:51 Joe Estes 1-Mar-04 12:51
 Re: Super Easy C++ program help Anonymous1-Mar-04 16:03 Anonymous 1-Mar-04 16:03
 Re: Super Easy C++ program help Prakash Nadar1-Mar-04 18:53 Prakash Nadar 1-Mar-04 18:53
 mfc and win32 vglmco1-Mar-04 11:46 vglmco 1-Mar-04 11:46
 Re: mfc and win32 l a u r e n1-Mar-04 12:05 l a u r e n 1-Mar-04 12:05