473,324 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Source Code for C Unleashed

[Sorry for the offtopic post but I'm sure people here can help me out]

Hi all,

I have C Unleashed since it was first published and then I moved to
the UK and brought the book with me but not the source code CD. Now,
while skimming through it I could use the source code but I don't have
the CD (left it at my home in Portugal). It says in the book the code
is released under GPL, so I thought I would find it online but this
doesn't seem to be the case. Can anyone tell me where to find it
online, or maybe tar it and upload it somewhere I can get it?

Such a favor would be great.

Thank you very much,

Paulo Matos

Feb 27 '07 #1
13 4419
po******@gmail.com wrote:
[Sorry for the offtopic post but I'm sure people here can help me out]

I have C Unleashed since it was first published and then I moved to
the UK and brought the book with me but not the source code CD. Now,
while skimming through it I could use the source code but I don't have
the CD (left it at my home in Portugal). It says in the book the code
is released under GPL, so I thought I would find it online but this
doesn't seem to be the case. Can anyone tell me where to find it
online, or maybe tar it and upload it somewhere I can get it?

Such a favor would be great.
Google '"C unleashed" CD' and you will find some breadcrumbs, some of
which lead back to here.

Some of these links ended up here:
<http://home.att.net/~jackklein/C_Unleashed/code_list.html>

Good luck.
Feb 27 '07 #2
On Feb 27, 4:16 pm, Clever Monkey
<clvrmnky.inva...@hotmail.com.invalidwrote:
pocma...@gmail.com wrote:
[Sorry for the offtopic post but I'm sure people here can help me out]
I have C Unleashed since it was first published and then I moved to
the UK and brought the book with me but not the source code CD. Now,
while skimming through it I could use the source code but I don't have
the CD (left it at my home in Portugal). It says in the book the code
is released under GPL, so I thought I would find it online but this
doesn't seem to be the case. Can anyone tell me where to find it
online, or maybe tar it and upload it somewhere I can get it?
Such a favor would be great.

Google '"C unleashed" CD' and you will find some breadcrumbs, some of
which lead back to here.

Some of these links ended up here:
<http://home.att.net/~jackklein/C_Unleashed/code_list.html>

Good luck.
As you might have guessed, I did that. But that page contains the code
for Chapter 18 only. :) I was searching the code for the whole book.
In particular the tries and graph chapter.

Feb 27 '07 #3
On Feb 27, 8:19 am, pocma...@gmail.com wrote:
On Feb 27, 4:16 pm, Clever Monkey

<clvrmnky.inva...@hotmail.com.invalidwrote:
pocma...@gmail.com wrote:
[Sorry for the offtopic post but I'm sure people here can help me out]
I have C Unleashed since it was first published and then I moved to
the UK and brought the book with me but not the source code CD. Now,
while skimming through it I could use the source code but I don't have
the CD (left it at my home in Portugal). It says in the book the code
is released under GPL, so I thought I would find it online but this
doesn't seem to be the case. Can anyone tell me where to find it
online, or maybe tar it and upload it somewhere I can get it?
Such a favor would be great.
Google '"C unleashed" CD' and you will find some breadcrumbs, some of
which lead back to here.
Some of these links ended up here:
<http://home.att.net/~jackklein/C_Unleashed/code_list.html>
Good luck.

As you might have guessed, I did that. But that page contains the code
for Chapter 18 only. :) I was searching the code for the whole book.
In particular the tries and graph chapter.- Hide quoted text -

- Show quoted text -
Can't help you with tries and graph code, but chapter 13 code can be
found here:
http://users.powernet.co.uk/eton/unl...a/896213nw.zip

Feb 27 '07 #4
po******@gmail.com said:
[Sorry for the offtopic post but I'm sure people here can help me out]

Hi all,

I have C Unleashed since it was first published and then I moved to
the UK and brought the book with me but not the source code CD.
Ouch.

If zip has behaved itself, you can get a CRLF version here:

http://www.cpax.org.uk/prg/portable/...e/bookcode.zip

or, if you run a sensible OS, you can get a CRless version here:

http://www.cpax.org.uk/prg/portable/...ookcode.tar.gz

At this point, I should probably mention that IIRC sparse.h never made
it to the CD - it was all a bit rushed, as is too often the case with
these things, and the header simply got missed off. If you need a copy
of that header, I'm afraid you'll have to track down the program's
author. (He did once send me a copy, but that would have been in about
2003 or so, and I've long since lost track of it.) Tacky or what? But
c'est la vie.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
Feb 27 '07 #5
On 27 Feb, 17:47, Richard Heathfield <r...@see.sig.invalidwrote:
pocma...@gmail.com said:
[Sorry for the offtopic post but I'm sure people here can help me out]
Hi all,
I have C Unleashed since it was first published and then I moved to
the UK and brought the book with me but not the source code CD.

Ouch.

If zip has behaved itself, you can get a CRLF version here:

http://www.cpax.org.uk/prg/portable/...e/bookcode.zip

or, if you run a sensible OS, you can get a CRless version here:

http://www.cpax.org.uk/prg/portable/...ookcode.tar.gz
Hi Richard,

Ah, this is just what I wanted! :-)

Great!
At this point, I should probably mention that IIRC sparse.h never made
it to the CD - it was all a bit rushed, as is too often the case with
these things, and the header simply got missed off. If you need a copy
of that header, I'm afraid you'll have to track down the program's
author. (He did once send me a copy, but that would have been in about
2003 or so, and I've long since lost track of it.) Tacky or what? But
c'est la vie.
Thank you so much... the book is great enough for me to forget those
minor issues regarding missing headers! ;)

By the way, a nice advanced C book regarding efficiency techniques and
design patterns in C would be appreciated! heh
(when you find the time for another book, of course)
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999http://www.cpax.org.uk
email: rjh at the above domain, - www.

Feb 27 '07 #6
On Tue, 27 Feb 2007 17:47:22 +0000, Richard Heathfield
<rj*@see.sig.invalidwrote:
>po******@gmail.com said:
>[Sorry for the offtopic post but I'm sure people here can help me out]

Hi all,

I have C Unleashed since it was first published and then I moved to
the UK and brought the book with me but not the source code CD.

Ouch.

If zip has behaved itself, you can get a CRLF version here:

http://www.cpax.org.uk/prg/portable/...e/bookcode.zip

or, if you run a sensible OS, you can get a CRless version here:

http://www.cpax.org.uk/prg/portable/...ookcode.tar.gz
I'm suspect of this archive. Consider this snippet from
ch18/TEXT2BIN.C:

/* display successful file open */
fprintf(stderr, "t2b processing\n",
"reading text input %s\n",
"making binary output %s\n",
argv[1], argv[2]);

There appears to be some spurious commas in there. The program created
with my compiler just prints out:

t2b processing

Maybe the author did not run PC-lint or have a peer review on this
code. Or maybe the spurious commas are the result of a problem with
gzip. Or perhaps neither, as everyone's human.

Best regards
--
jay
Feb 28 '07 #7
jaysome said:
On Tue, 27 Feb 2007 17:47:22 +0000, Richard Heathfield
<rj*@see.sig.invalidwrote:
<snip>
>>
If zip has behaved itself, you can get a CRLF version here:

http://www.cpax.org.uk/prg/portable/...e/bookcode.zip

or, if you run a sensible OS, you can get a CRless version here:

http://www.cpax.org.uk/prg/portable/...ookcode.tar.gz

I'm suspect of this archive. Consider this snippet from
ch18/TEXT2BIN.C:

/* display successful file open */
fprintf(stderr, "t2b processing\n",
"reading text input %s\n",
"making binary output %s\n",
argv[1], argv[2]);

There appears to be some spurious commas in there.
Aye. Well, it was kind of you to try to blame gzip, but the source
quoted above does actually appear on the CD-ROM that accompanied the
book. I think we'll have to take this one on the chin.
[...] everyone's human.
That's the best excuse I can think of, too. The second edition (which is
scheduled to be published on the centennial anniversary of the first)
will be written entirely by automatically generated computer software,
so next time around we (or rather, our descendants) will be able to put
the blame squarely on the computer.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
Feb 28 '07 #8
Richard Heathfield wrote:

That's the best excuse I can think of, too. The second edition (which
is scheduled to be published on the centennial anniversary of the
first) will be written entirely by automatically generated computer
software, so next time around we (or rather, our descendants) will be
able to put the blame squarely on the computer.
You just think it will. In fact, AI won't have progressed that far (it
will 20 years away). Instead, the book will be written by the uploaded
personalities of Heathfield et al.


Brian
Feb 28 '07 #9
"Default User" <de***********@yahoo.comwrites:
Richard Heathfield wrote:
>That's the best excuse I can think of, too. The second edition (which
is scheduled to be published on the centennial anniversary of the
first) will be written entirely by automatically generated computer
software, so next time around we (or rather, our descendants) will be
able to put the blame squarely on the computer.

You just think it will. In fact, AI won't have progressed that far (it
will 20 years away). Instead, the book will be written by the uploaded
personalities of Heathfield et al.
Nah, that's how the first edition was written.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Feb 28 '07 #10
On Feb 28, 12:48 pm, Keith Thompson <k...@mib.orgwrote:
"Default User" <defaultuse...@yahoo.comwrites:
Richard Heathfield wrote:
That's the best excuse I can think of, too. The second edition (which
is scheduled to be published on the centennial anniversary of the
first) will be written entirely by automatically generated computer
software, so next time around we (or rather, our descendants) will be
able to put the blame squarely on the computer.
You just think it will. In fact, AI won't have progressed that far (it
will 20 years away). Instead, the book will be written by the uploaded
personalities of Heathfield et al.

Nah, that's how the first edition was written.
In time the book will write itself, akin to creation of a C compiler
with a C compiler.

He'll probably replace the stories about Roscoe "Dick" Jones with some
integrated circuit blather, which will make it a more interesting read
for the Johnny 5 clones running about the joint. See:
http://www.transhumanist.com/volume1/moravec.htm
Feb 28 '07 #11
On Wed, 28 Feb 2007 13:19:14 +0000, Richard Heathfield
<rj*@see.sig.invalidwrote:
>jaysome said:
>On Tue, 27 Feb 2007 17:47:22 +0000, Richard Heathfield
<rj*@see.sig.invalidwrote:
<snip>
>>>
If zip has behaved itself, you can get a CRLF version here:

http://www.cpax.org.uk/prg/portable/...e/bookcode.zip

or, if you run a sensible OS, you can get a CRless version here:

http://www.cpax.org.uk/prg/portable/...ookcode.tar.gz

I'm suspect of this archive. Consider this snippet from
ch18/TEXT2BIN.C:

/* display successful file open */
fprintf(stderr, "t2b processing\n",
"reading text input %s\n",
"making binary output %s\n",
argv[1], argv[2]);

There appears to be some spurious commas in there.

Aye. Well, it was kind of you to try to blame gzip, but the source
quoted above does actually appear on the CD-ROM that accompanied the
book. I think we'll have to take this one on the chin.
>[...] everyone's human.

That's the best excuse I can think of, too. The second edition (which is
scheduled to be published on the centennial anniversary of the first)
will be written entirely by automatically generated computer software,
so next time around we (or rather, our descendants) will be able to put
the blame squarely on the computer.
Yes.

Hopefully:

gcc -Wall-and-I-do-mean-all

should be implemented by the said centennial anniversary.

Best regards
--
jay

Mar 1 '07 #12
On 28 Feb, 20:28, "Default User" <defaultuse...@yahoo.comwrote:
Richard Heathfield wrote:
That's the best excuse I can think of, too. The second edition (which
is scheduled to be published on the centennial anniversary of the
first) will be written entirely by automatically generated computer
software, so next time around we (or rather, our descendants) will be
able to put the blame squarely on the computer.

You just think it will. In fact, AI won't have progressed that far (it
will 20 years away).
Genuine AI will always be 20 years away...

Mar 1 '07 #13
>>>>"mb" == mark bluemel <ma**********@pobox.comwrites:

mbGenuine AI will always be 20 years away...

Only slightly more elusive than genuine non-artificial intelligence.

Charlton
--
Charlton Wilbur
cw*****@chromatico.net
Mar 1 '07 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: Clark | last post by:
Hi all. I'm looking for good C source code to study and be able to advance my C programming skills. Do you recomend any open source project in particular that in your opinion has good writen C...
15
by: Bill Cunningham | last post by:
I just purchased a book used called "C Unleashed" By RJH and was wondering if it's our own strangely placed Heathfield? Bill
9
by: Bert Szoghy | last post by:
Hello, I have been reading this brick, "C Unleashed" by Heathfield, Kirby, etc. on the bus and split the cd in two lugging it around. I tried emailing the author at his web site...
1
by: safiuddin | last post by:
hi, i would be grateful if anyone could give me the pdf format book for c unleashed
18
by: moni | last post by:
I have 2 time values: System time and an input from the user. 1) System time is in the form of seconds from 1/1/1970 calculated by using
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.