15,883,647 members
Home / Discussions / C / C++ / MFC

# C / C++ / MFC

 Re: Message loop not branching properly John R. Shaw3-Jun-06 4:01 John R. Shaw 3-Jun-06 4:01
 Re: Message loop not branching properly Goldstandard3-Jun-06 20:21 Goldstandard 3-Jun-06 20:21
 Re: Message loop not branching properly John R. Shaw13-Jun-06 22:17 John R. Shaw 13-Jun-06 22:17
 CBitmapButton akshita_152-Jun-06 21:22 akshita_15 2-Jun-06 21:22
 Re: CBitmapButton [modified] _AnsHUMAN_ 2-Jun-06 23:46 _AnsHUMAN_ 2-Jun-06 23:46
 Re: CBitmapButton [modified] akshita_153-Jun-06 0:36 akshita_15 3-Jun-06 0:36
 Re: CBitmapButton [modified] _AnsHUMAN_ 3-Jun-06 1:04 _AnsHUMAN_ 3-Jun-06 1:04
 interesting question, number of 0s at the end of N! George_George2-Jun-06 21:16 George_George 2-Jun-06 21:16
 Hello everyone, My friend and I are discussing about an interesting question, how to calculate efficiently how many 0s are at the end of N! (1 * 2 * 3 * ... * N-1 * N). Our algorithm is like this, 1. Use a loop to calculate N! 2. Use a loop to calculate %10 result of N!, then /10 each step Are there any better solutions? regards, George
 Re: interesting question, number of 0s at the end of N! John R. Shaw3-Jun-06 4:15 John R. Shaw 3-Jun-06 4:15
 Re: interesting question, number of 0s at the end of N! George_George4-Jun-06 16:31 George_George 4-Jun-06 16:31
 Re: interesting question, number of 0s at the end of N! John R. Shaw13-Jun-06 22:29 John R. Shaw 13-Jun-06 22:29
 Re: interesting question, number of 0s at the end of N! George_George13-Jun-06 22:37 George_George 13-Jun-06 22:37
 Re: interesting question, number of 0s at the end of N! John R. Shaw13-Jun-06 23:51 John R. Shaw 13-Jun-06 23:51
 Re: interesting question, number of 0s at the end of N! George_George14-Jun-06 2:35 George_George 14-Jun-06 2:35
 Re: interesting question, number of 0s at the end of N! John R. Shaw14-Jun-06 2:59 John R. Shaw 14-Jun-06 2:59
 Re: interesting question, number of 0s at the end of N! George_George14-Jun-06 3:42 George_George 14-Jun-06 3:42
 Re: interesting question, number of 0s at the end of N! [modified] Stephen Hewitt4-Jun-06 14:06 Stephen Hewitt 4-Jun-06 14:06
 Re: interesting question, number of 0s at the end of N! [modified] George_George4-Jun-06 16:30 George_George 4-Jun-06 16:30
 Re: interesting question, number of 0s at the end of N! [modified] Stephen Hewitt4-Jun-06 17:48 Stephen Hewitt 4-Jun-06 17:48
 Re: interesting question, number of 0s at the end of N! [modified] George_George4-Jun-06 17:50 George_George 4-Jun-06 17:50
 Cannot access classview. Anu_Bala2-Jun-06 20:49 Anu_Bala 2-Jun-06 20:49
 Re: Cannot access classview. _AnsHUMAN_ 2-Jun-06 23:22 _AnsHUMAN_ 2-Jun-06 23:22
 convert unicode? raghuji.rao2-Jun-06 19:21 raghuji.rao 2-Jun-06 19:21
 Re: convert unicode? Taka Muraoka2-Jun-06 20:59 Taka Muraoka 2-Jun-06 20:59
 Re: convert unicode? knoxplusplus8-Jun-06 7:47 knoxplusplus 8-Jun-06 7:47
 Last Visit: 31-Dec-99 18:00     Last Update: 22-Apr-24 18:38 Refresh ᐊ Prev1...9268926992709271927292739274927592769277 Next ᐅ