www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/30/03:45:19

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: kgangakhedkar AT softhome DOT net (Kunal Gangakhedkar)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: implementing linked lists
Date: 30 Mar 2002 00:01:28 -0800
Organization: http://groups.google.com/
Lines: 30
Message-ID: <9b84a27b.0203300001.39854005@posting.google.com>
References: <2cf22887 DOT 0203291659 DOT d95915e AT posting DOT google DOT com>
NNTP-Posting-Host: 203.197.79.120
X-Trace: posting.google.com 1017475288 13554 127.0.0.1 (30 Mar 2002 08:01:28 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 30 Mar 2002 08:01:28 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Well, 
If you know, a linked list is nothing but a normal linear data
structure.
So, if you're doing any computer degree course, you must have
implemented linked list in C/C++ or Pascal.
DJGPP is just a port of GNU C/C++ compilers and some other utils.
There is nothing special about it.

So, just write your C/C++ implementation of Linked list and compile it
using DJGPP compilers like gcc or gxx (for C++).
For example, to compile a file called xyx.c, the command could be

gcc xyz.c

This will compile it, if it does not contain any errors and by default
will create an executable called a.exe. This can be overriden by -o
option.
Read the docs for more details.

If you have any working experience with UNIX/Linux C/C++ environment,
it is the same way for DJGPP.
I mean, you use the compilers and all in exactly the same way.

Kunal Gangakhedkar
(kgangakhedkar AT softhome DOT net)

badri8088 AT yahoo DOT com (badri8088) wrote in message news:<2cf22887 DOT 0203291659 DOT d95915e AT posting DOT google DOT com>...
> Hi
> how do I implement operations in Linked list in DJGPP ?
> (insertion,deletion,reversing)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019