Thread: qsort algorithm

  1. #1
    Registered User
    Join Date
    Apr 2017
    Location
    Iran
    Posts
    92

    qsort algorithm

    Hi,

    Is the C qsort algorithm known for various compilers/OSes ?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    37,498
    It's known for things like GNU lib-c, since you can just go and read the source directly.

    The standard itself makes no statement as to what algorithm qsort (or bsearch for that matter) should implement.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Could use some help with qsort
    By Brolaf Broski in forum C Programming
    Replies: 8
    Last Post: 11-03-2013, 10:09 AM
  2. qsort help
    By bbray in forum C Programming
    Replies: 11
    Last Post: 09-18-2011, 01:25 PM
  3. qsort - aid
    By dayknight in forum C++ Programming
    Replies: 6
    Last Post: 01-18-2006, 07:30 PM
  4. Help here with qsort!
    By xxxrugby in forum C Programming
    Replies: 11
    Last Post: 02-09-2005, 08:52 AM
  5. qsort
    By Unregistered in forum C Programming
    Replies: 4
    Last Post: 11-30-2001, 05:35 PM

Tags for this Thread