Re: [algogeeks] Need help regarding threads

2012-03-26 Thread Senthil Nathan
The problem is with the third argument in *pthread_create(thread1,NULL,(void*)sender,(void*)0);* * * It should just be sender or sender. *pthread_create(thread1,NULL,sender,(void*)0);* Thanks, Senthil. On Mon, Mar 26, 2012 at 5:25 PM, Sagar Pareek sagarpar...@gmail.com wrote: Hello all, I

Re: [algogeeks] Print all permutation of string

2012-03-10 Thread Senthil Nathan
Well it would take n! as you have to print all the permutations and you will have to swap positions to find the next permutation from the current permutation and you need to do it in a orderly fashion so that you don't have to keep track of the permutations you have already produced to prevent