🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: csu.cs.200
Article #186

Re: SelSort<->Sort.h Need help.

#186
From: Michael Szczepaniak
Date: Sat, 19 Sep 1998 00:00
20 lines
1435 bytes
If you have the line:

void SelSort(SLLnode *hptr,int N)

in your myfile.c, then get rid of it because it doesn't belong there because it's
already defined in your Sort.h

Hope this helps.  Michael

matthew kempf wrote:

> I'm OK with printing but I cannot get my lists sorted.  I'm sure my sort
> function would work if I could get it to communicate with my main program.
> I've got #include "Sort.h" and then void SelSort(SLLnode *hptr,int N) below.
> Later I call SelSort(hptr,n);  When I compile I put Sort.h to an object file,
> then CC myfile.c and get errors for the include statements found in Sort.h.
> They are in the same directory but not communicating, but the text I have
> doesn't have an example that makes sense for this application.  Any help is
> greatly appreciated.
> Matt.
Technical Details
Message-ID: <3603CD32.184F6D92@earthlink.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6u0ajq$a5n8@yuma.ACNS.ColoState.EDU>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 127144,8796168516a6d041
X-Google-Attributes: gid127144,public
From: Michael Szczepaniak <mszczepaniak@earthlink.net>
Subject: Re: SelSort<->Sort.h Need help.
Date: 1998/09/19
Message-ID: <3603CD32.184F6D92@earthlink.net>
X-Deja-AN: 392750900
Content-Transfer-Encoding: 7bit
References: <6u0ajq$a5n8@yuma.ACNS.ColoState.EDU>
X-Posted-Path-Was: not-for-mail
Content-Type: text/plain; charset=us-ascii
X-ELN-Date: Sat Sep 19 08:21:54 1998
Organization: Eclectic systems
Mime-Version: 1.0
Reply-To: mszczepaniak@earthlink.net
Newsgroups: csu.cs.200