[algogeeks] Re: Good string problem

2007-12-24 Thread k3xji
In The printStr function determine if the string contains s as a substring. I said in the below of the code.Look at the comment above. On Dec 19, 9:16 am, John <[EMAIL PROTECTED]> wrote: > Where arr u checking whether s is there or not ? > > On Dec 18, 7:38 pm, k3xji <[EMAIL PROTECTED]> wrote: >

[algogeeks] Re: Good string problem

2007-12-18 Thread John
Where arr u checking whether s is there or not ? On Dec 18, 7:38 pm, k3xji <[EMAIL PROTECTED]> wrote: > Given a permute array you want to create fixed set of elements in > which s does not occur. Modify the below function: > > void > permuteStr(char *out, char *permuteArr, >unsigned c

[algogeeks] Re: Good string problem

2007-12-18 Thread k3xji
Given a permute array you want to create fixed set of elements in which s does not occur. Modify the below function: void permuteStr(char *out, char *permuteArr, unsigned char outSize, unsigned int permuteArrSize, int index, void (*outStr)(char *)) { if (index == outSize