Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > qsort

Reply
Thread Tools

qsort

 
 
Phil Carmody
Guest
Posts: n/a
 
      11-14-2011
Ian Collins <ian-> writes:
> On 11/13/11 07:39 PM, Bill Cunningham wrote:
> > Keith Thompson wrote:
> >> "Bill Cunningham"<> writes:
> >>> pete wrote:
> >>>> return *aa> *bb ? -1 : *aa != *bb;
> >>>
> >>> Can you show me that for loop that's not in shorthand? This is
> >>> kind of hard to read.
> >>
> >> What for loop?

> >
> > Ok I saw the ?: and thought it might be part of for.

>
> Doesn't a for loop normally include the word "for"?


Ok I saw the From: line and thought it might be part of a troll.

Phil
--
Unix is simple. It just takes a genius to understand its simplicity
-- Dennis Ritchie (1941-2011), Unix Co-Creator
 
Reply With Quote
 
 
 
 
Nick Keighley
Guest
Posts: n/a
 
      11-14-2011
On Nov 13, 6:51*am, Ian Collins <ian-n...@hotmail.com> wrote:
> On 11/13/11 07:39 PM, Bill Cunningham wrote:
>
> > Keith Thompson wrote:
> >> "Bill Cunningham"<nos...@nspam.invalid> *writes:
> >>> pete wrote:
> >>>> * * return *aa> **bb ? -1 : *aa != *bb;

>
> >>> * * *Can you show me that for loop that's not in shorthand? This is
> >>> kind of hard to read.

>
> >> What for loop?

>
> > Ok I saw the ?: and thought it might be part of for.

>
> Doesn't a for loop normally include the word "for"?


does it normally include a "?"?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need warning-free qsort() comparison functions Charlie Zender C Programming 21 01-03-2004 12:32 PM
How to declare an array of sort functions for qsort()? Ingo Brueckl C Programming 5 12-19-2003 01:08 AM
[possibly OT] the comparison function in qsort Debashish Chakravarty C Programming 0 11-23-2003 04:59 AM
crashing qsort richard C Programming 34 08-28-2003 12:10 PM
Re: qsort and structs and ptrs richard C Programming 0 08-13-2003 11:09 PM



Advertisments