Click here to Skip to main content
15,918,211 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to set a Textcolor in a CListCtrl Pin
prasad_som25-Oct-05 23:34
prasad_som25-Oct-05 23:34 
GeneralRe: How to set a Textcolor in a CListCtrl Pin
Anonymous26-Oct-05 1:02
Anonymous26-Oct-05 1:02 
QuestionHow can I get a copy of wav file with other format Pin
extraf25-Oct-05 21:38
extraf25-Oct-05 21:38 
AnswerRe: How can I get a copy of wav file with other format Pin
Blake Miller26-Oct-05 7:00
Blake Miller26-Oct-05 7:00 
QuestionHide the blue task pane in a CHtmlView Pin
gleditzsch25-Oct-05 21:26
gleditzsch25-Oct-05 21:26 
QuestionDensity sampling Pin
Arrun25-Oct-05 20:50
Arrun25-Oct-05 20:50 
Questionprime number with recursion Pin
Rajesh_K_Sharma25-Oct-05 20:07
Rajesh_K_Sharma25-Oct-05 20:07 
AnswerRe: prime number with recursion Pin
sunit525-Oct-05 22:11
sunit525-Oct-05 22:11 
//it will print the no which r prime no and greater than 9
void divisiblity(int divident,int divisor);
main()
{

const int divisor=9;//keep it const
int divident=10;

while(1)
{
divisibility(divident,divisor);
divident++;
}
}

void divisibility(int divident,int divisor)
{
if(divisor==1)
{
printf("the no is a prime no\t%d",divident)
return ;
}
int remainder=divident%divisor;
if(remainder==0)
return;

divisibility(divident,divisor-1);
return;
}

Laugh | :laugh: hope this may help u

-- modified at 6:43 Wednesday 26th October, 2005
GeneralRe: prime number with recursion Pin
toxcct25-Oct-05 22:25
toxcct25-Oct-05 22:25 
AnswerRe: prime number with recursion Pin
ddmcr25-Oct-05 22:57
ddmcr25-Oct-05 22:57 
JokeRe: prime number with recursion Pin
toxcct25-Oct-05 23:15
toxcct25-Oct-05 23:15 
GeneralRe: prime number with recursion Pin
ThatsAlok26-Oct-05 0:00
ThatsAlok26-Oct-05 0:00 
GeneralRe: prime number with recursion Pin
toxcct26-Oct-05 0:08
toxcct26-Oct-05 0:08 
GeneralRe: prime number with recursion Pin
ThatsAlok26-Oct-05 23:54
ThatsAlok26-Oct-05 23:54 
GeneralRe: prime number with recursion Pin
Eytukan26-Oct-05 1:45
Eytukan26-Oct-05 1:45 
GeneralRe: prime number with recursion Pin
ThatsAlok26-Oct-05 23:44
ThatsAlok26-Oct-05 23:44 
AnswerRe: prime number with recursion Pin
sunit526-Oct-05 0:46
sunit526-Oct-05 0:46 
Questionwhats the best way to read ini files Pin
Chintoo72325-Oct-05 19:41
Chintoo72325-Oct-05 19:41 
AnswerRe: whats the best way to read ini files Pin
ThatsAlok26-Oct-05 0:55
ThatsAlok26-Oct-05 0:55 
AnswerRe: whats the best way to read ini files Pin
David Crow26-Oct-05 3:16
David Crow26-Oct-05 3:16 
GeneralRe: whats the best way to read ini files Pin
John R. Shaw26-Oct-05 16:48
John R. Shaw26-Oct-05 16:48 
QuestionIntensity problem Pin
Arrun25-Oct-05 19:12
Arrun25-Oct-05 19:12 
AnswerRe: Intensity problem Pin
Christian Graus25-Oct-05 19:22
protectorChristian Graus25-Oct-05 19:22 
GeneralRe: Intensity problem Pin
Arrun25-Oct-05 19:48
Arrun25-Oct-05 19:48 
GeneralRe: Intensity problem Pin
Christian Graus25-Oct-05 20:06
protectorChristian Graus25-Oct-05 20:06 

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.