Article View: comp.std.c
Article #3752Re: Sorting
From: Martin Ambuhl
Date: Wed, 16 Aug 1995 20:43
Date: Wed, 16 Aug 1995 20:43
33 lines
1706 bytes
1706 bytes
cg9214@csc.albany.edu (GALASSO CHRISTOPHE J) in <40p2cp$lh3@rebecca.albany.edu> asks: >Can someone please tell me if there is some header file with sorting >prototypes included? I am a student, and I think that things would be >much easier if I didn't have to sort everything by myself. I found >qsort, and it was pretty helpful. Bear in mind that I am a student, >and I am new at programming in C. Although I am anxious to find out >all I can. Please help. I am looking to all of you experienced >programmers for a little advice. >Also, if there are no built-in prototypes, shouldn't there be one, >especially since much time is taken up by sorting? Thank you, and >please get back to me if possible. You have found the only standard sorting program (qsort). The prototype for qsort in <stdlib.h>. All of the standard library functions have prototypes in standard headers, which are (the ones you are most likely to need are marked with a !). Later you will be using them all. <assert.h> <locale.h> <stddef.h> <ctype.h>! <math.h>! <stdio.h>! <errno.h> <setjmp.h> <stdlib.h>! <float.h> <signal.h> <string.h>! <limits.h> <stdarg.h> <time.h>! <iso646.h> <wctype.h> <wchar.h> -- * Martin Ambuhl net: mambuhl@ripco.com * Chicago, IL (USA)
Technical Details
Message-ID:
<DDF88C.Msw@rci.ripco.com>Path:
arc1-ca.pugleaf.net!gail.ripco.com!usenetShow Full Headers
Complete Article Headers
Newsgroups: comp.std.c Path: arc1-ca.pugleaf.net!gail.ripco.com!usenet From: mambuhl@ripco.com (Martin Ambuhl) Subject: Re: Sorting X-Nntp-Posting-Host: foley.ripco.com Message-ID: <DDF88C.Msw@rci.ripco.com> Sender: usenet@rci.ripco.com (Net News Admin) Organization: Ripco Internet BBS Chicago Date: Wed, 16 Aug 1995 20:43:24 GMT X-Ident-Sender: mambuhl