www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Linked List?

reply evolutional <evolutional_member pathlink.com> writes:
Hi,

I've just started playing around with D and can't seem to find the linked-list
templates (think of std::list here). I've read a few posts in this forum and it
seems like there will be one in DTL, but I don't know when DTL will be out.

The linked list example downloadable from the links page on digital mars won't
unpack on my machine (windows - the file is tar.bz2 and I can't seem to get it
working without being reported as corrupt).

Will I have to write my own basic linked list template until DTL comes out, or
does anyone have one they are willing to share? :)

Thanks
Jul 22 2004
next sibling parent reply "Bruno A. Costa" <bruno codata.com.br> writes:
there is a bzip2 version for windows at:

http://gnuwin32.sourceforge.net/packages/bzip2.htm


Bruno.

evolutional wrote:

 Hi,
 
 I've just started playing around with D and can't seem to find the
 linked-list templates (think of std::list here). I've read a few posts in
 this forum and it seems like there will be one in DTL, but I don't know
 when DTL will be out.
 
 The linked list example downloadable from the links page on digital mars
 won't unpack on my machine (windows - the file is tar.bz2 and I can't seem
 to get it working without being reported as corrupt).
 
 Will I have to write my own basic linked list template until DTL comes
 out, or does anyone have one they are willing to share? :)
 
 Thanks
Jul 22 2004
next sibling parent evolutional <evolutional_member pathlink.com> writes:
In article <cdp922$13cv$1 digitaldaemon.com>, Bruno A. Costa says...
there is a bzip2 version for windows at:

http://gnuwin32.sourceforge.net/packages/bzip2.htm


Bruno.
Thanks for the link. That's one tool I'll be needing again :)
Jul 23 2004
prev sibling parent reply Mike Parker <aldacron71 yahoo.com> writes:
Bruno A. Costa wrote:
 there is a bzip2 version for windows at:
 
 http://gnuwin32.sourceforge.net/packages/bzip2.htm
 
And there's also PowerArchiver (http://www.powerarchiver.com/) which supports more archive formats than I care to list (including bzip, tar and gzip). It's shareware, but you the unregistered version can be is unlimited and can be used forever with an unobtrusive nag if you don't care to register. It has come in handy for me many, many times.
Jul 23 2004
parent reply John Reimer <brk_6502 yahoo.com> writes:
On Fri, 23 Jul 2004 23:21:25 +0900, Mike Parker wrote:

 Bruno A. Costa wrote:
 there is a bzip2 version for windows at:
 
 http://gnuwin32.sourceforge.net/packages/bzip2.htm
 
 
And there's also PowerArchiver (http://www.powerarchiver.com/) which supports more archive formats than I care to list (including bzip, tar and gzip). It's shareware, but you the unregistered version can be is unlimited and can be used forever with an unobtrusive nag if you don't care to register. It has come in handy for me many, many times.
Yep... so handy that I purchased a license several years ago, as others should if they find it useful enough to use indefinitely. :-) If you want a truly free archiving system, 7zip is quite a powerful little piece of software: it's small and fast, supports many archive formats, and integrates into the windows shell. I think it's hard for commercial software to even compete with this one. You'll find it at www.7-zip.org Later, John
Jul 25 2004
parent J C Calvarese <jcc7 cox.net> writes:
John Reimer wrote:
 On Fri, 23 Jul 2004 23:21:25 +0900, Mike Parker wrote:
there is a bzip2 version for windows at:

http://gnuwin32.sourceforge.net/packages/bzip2.htm
And there's also PowerArchiver (http://www.powerarchiver.com/) which supports more archive formats than I care to list (including bzip, tar and gzip). It's shareware, but you the unregistered version can be is unlimited and can be used forever with an unobtrusive nag if you don't care to register. It has come in handy for me many, many times.
...
  
 If you want a truly free archiving system, 7zip is quite a powerful little
 piece of software: it's small and fast, supports many archive formats, and
 integrates into the windows shell.  I think it's hard for commercial
 software to even compete with this one.  You'll find it at www.7-zip.org
 
 Later,
 
 John
I've used several archiving programs in the past (including PowerArchiver), but I've used 7-zip exclusively for quite a while now. It's great! -- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/
Jul 25 2004
prev sibling parent reply Ben Hinkle <bhinkle4 juno.com> writes:
evolutional wrote:

 Hi,
 
 I've just started playing around with D and can't seem to find the
 linked-list templates (think of std::list here). I've read a few posts in
 this forum and it seems like there will be one in DTL, but I don't know
 when DTL will be out.
 
 The linked list example downloadable from the links page on digital mars
 won't unpack on my machine (windows - the file is tar.bz2 and I can't seem
 to get it working without being reported as corrupt).
 
 Will I have to write my own basic linked list template until DTL comes
 out, or does anyone have one they are willing to share? :)
 
 Thanks
a "minimal list" plus some array helper functions: http://home.comcast.net/~benhinkle/mintl.zip I'll probably have map.d ready in a couple of days. -Ben
Jul 22 2004
parent reply evolutional <evolutional_member pathlink.com> writes:
In article <cdph5t$16qn$1 digitaldaemon.com>, Ben Hinkle says...

a "minimal list" plus some array helper functions:
 http://home.comcast.net/~benhinkle/mintl.zip

I'll probably have map.d ready in a couple of days.
-Ben
Thanks Ben, that was exactly what I was looking for. I did start to code one up last night but yours looks a lot more complete. I'll look forward to seeing the map.d code too :) Thanks a bunch Oli
Jul 23 2004
parent Ben Hinkle <bhinkle4 juno.com> writes:
evolutional wrote:

 In article <cdph5t$16qn$1 digitaldaemon.com>, Ben Hinkle says...
 
a "minimal list" plus some array helper functions:
 http://home.comcast.net/~benhinkle/mintl.zip

I'll probably have map.d ready in a couple of days.
-Ben
Thanks Ben, that was exactly what I was looking for. I did start to code one up last night but yours looks a lot more complete. I'll look forward to seeing the map.d code too :) Thanks a bunch Oli
keep in mind it probably is still buggy - bug reports would be appreciated.
Jul 23 2004