15,747,513 members
Home / Discussions / C / C++ / MFC

# C / C++ / MFC

 Re: Multiple .cpp files KarstenK5-Apr-10 22:38 KarstenK 5-Apr-10 22:38
 Re: Multiple .cpp files gamefreak22915-Apr-10 22:45 gamefreak2291 5-Apr-10 22:45
 Re: Multiple .cpp files KarstenK5-Apr-10 22:59 KarstenK 5-Apr-10 22:59
 Re: Multiple .cpp files gamefreak22915-Apr-10 23:40 gamefreak2291 5-Apr-10 23:40
 Re: Multiple .cpp files Emilio Garavaglia6-Apr-10 2:20 Emilio Garavaglia 6-Apr-10 2:20
 Re: Multiple .cpp files gamefreak22916-Apr-10 6:47 gamefreak2291 6-Apr-10 6:47
 Re: Multiple .cpp files Emilio Garavaglia6-Apr-10 20:36 Emilio Garavaglia 6-Apr-10 20:36
 Permutations with repetition MsmVc5-Apr-10 20:59 MsmVc 5-Apr-10 20:59
 Hi All After long search on net i found formula. I have find formula Permutations with repetition on net `n^r Where n=length of string and r=combination choice` I want to make combination according to this formula n^r. According to this formila n^r=9 combination possible here like this AA AB AC BB BA BC CC CA CB ```Here i am trying but stuck in inner loop. void CTestCombDlg::OnBnClickedOk() { CString acc="abcd"; int r=2; for(int i=0;i<2;i++) { int nl=2*r; for( int k=0;k
 Re: Permutations with repetition CPallini5-Apr-10 21:49 CPallini 5-Apr-10 21:49
 Re: Permutations with repetition [modified] MsmVc5-Apr-10 21:58 MsmVc 5-Apr-10 21:58
 Re: Permutations with repetition CPallini5-Apr-10 22:06 CPallini 5-Apr-10 22:06
 Re: Permutations with repetition MsmVc5-Apr-10 22:07 MsmVc 5-Apr-10 22:07
 Re: Permutations with repetition MsmVc6-Apr-10 0:00 MsmVc 6-Apr-10 0:00
 Re: Permutations with repetition CPallini6-Apr-10 0:21 CPallini 6-Apr-10 0:21
 Re: Permutations with repetition MsmVc8-Apr-10 0:42 MsmVc 8-Apr-10 0:42
 Re: Permutations with repetition CPallini8-Apr-10 3:25 CPallini 8-Apr-10 3:25
 CFile Dialog Crash on Window Server 2008. Le@rner5-Apr-10 18:22 Le@rner 5-Apr-10 18:22
 Re: CFile Dialog Crash on Window Server 2008. KarstenK5-Apr-10 22:42 KarstenK 5-Apr-10 22:42
 Re: CFile Dialog Crash on Window Server 2008. Le@rner7-Apr-10 20:49 Le@rner 7-Apr-10 20:49
 Re: CFile Dialog Crash on Window Server 2008. KarstenK7-Apr-10 22:38 KarstenK 7-Apr-10 22:38
 Stack overflow browneyes865-Apr-10 16:00 browneyes86 5-Apr-10 16:00
 Re: Stack overflow David Crow5-Apr-10 16:31 David Crow 5-Apr-10 16:31
 Re: Stack overflow Luc Pattyn5-Apr-10 16:52 Luc Pattyn 5-Apr-10 16:52
 Re: Stack overflow Tim Craig5-Apr-10 18:20 Tim Craig 5-Apr-10 18:20
 Re: Stack overflow Luc Pattyn5-Apr-10 18:31 Luc Pattyn 5-Apr-10 18:31
 Last Visit: 31-Dec-99 18:00     Last Update: 2-Oct-23 2:45 Refresh ᐊ Prev1...1953195419551956195719581959196019611962 Next ᐅ