[algogeeks] Re: Nesting of comments in C

2006-09-28 Thread Nishu
L7 wrote: > You shouldn't be able to write such a program. > The language itself doesn't allow nested comments, so any compiler > which allows such a thing is non-conforming - which would make me think > twice about using that particular compiler ;) Rightly said. -N --~--~-~--~~--

[algogeeks] Re: Can anyone point out the mistakes in my program?

2006-06-26 Thread Nishu
Thomas.Chang wrote: > Thanks for you reply. > Yes, I can use the qsort() in standard c library to finish my work. But > what I want to know is why I was wrong. Qsort is a great, because it > shortens the sorting time from O(n^2) to O(nlogn). But I want to know > if I am thinking the wrong way aga