473,715 Members | 6,112 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4453
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.i nvalidwrote:
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.in validwrote:
>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.in validwrote:
<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_Keit h) 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

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

Similar topics

20
5138
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 code? Thanks.
15
368
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
1763
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 http://users.powernet.co.uk/eton/unleashed/ but emails bounce back. Could someone be kind enough to email a zip file of just the src code
1
4337
by: safiuddin | last post by:
hi, i would be grateful if anyone could give me the pdf format book for c unleashed
18
3114
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
8823
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9343
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9198
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9104
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9047
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6646
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5967
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4477
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3175
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.