473,725 Members | 2,169 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Solutions to "C Programing Language"

Hey guys-

I've decided to learn me some C, as any hacker must :)

So I've got a C compiler handy, and I've downloaded the book by
Kernergan and Richie that was recommended to me...

One bad thing tho is it doesn't have solutions printed at the back, so
what I'd like is to have a solutions manual to look at, instead of
spending a lot of time thinking about each of the examples.

Does anyone know a site with the solutions manual?

TIA!

CC Jon

Sep 29 '07 #1
12 2995
co********@mail inator.com wrote:
Hey guys-

I've decided to learn me some C, as any hacker must :)

So I've got a C compiler handy, and I've downloaded the book by
Kernergan and Richie that was recommended to me...
The book is NOT available for download. You got it in an illegal
fashion.

One bad thing tho is it doesn't have solutions printed at the back, so
what I'd like is to have a solutions manual to look at, instead of
spending a lot of time thinking about each of the examples.
Ahhh
It didn't occur to you that the objective of the
exercises is precisely to make you think?

But obviously you have lost this capacity long long ago.
Does anyone know a site with the solutions manual?
GO AWAY!
Sep 29 '07 #2

<co********@mai linator.comwrot e in message
news:11******** **************@ w3g2000hsg.goog legroups.com...
Hey guys-

I've decided to learn me some C, as any hacker must :)

So I've got a C compiler handy, and I've downloaded the book by
Kernergan and Richie that was recommended to me...
Then you've just participated (perhaps unknowingly)
in theft of intellectual property. K&R (2nd edition)
is an extremely good choice of books for learning C,
but please purchase a legitimate copy so that the folks
who did the work are justly compensated. Also, when
learning a new subject, imo more than one information
source is desirable. See www.accu.org for peer reviews
and recommendations .
One bad thing tho is it doesn't have solutions printed at the back, so
what I'd like is to have a solutions manual to look at, instead of
spending a lot of time thinking about each of the examples.

Does anyone know a site with the solutions manual?
There isn't a solutions manual that I'm aware of. I suggest that
an excellent way to learn would be to try to do the exercises,
and if you get stuck, post your code here with your accompanying
questions. And even if your solution does seem to be correct,
post it anyway, and ask for constructive criticism. IMO you'll
learn far more than comparing your answers to 'canned' ones.
Virtually all the exercises can be done in several ways. Creating
your own will help you develop your critical thinking skills.

-Mike
Sep 29 '07 #3
Mike Wahler wrote:

[snip good advice]

That's a better answer than mine. Maybe I got carried away.
At least you do not get excited about him.

--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatique
http://www.cs.virginia.edu/~lcc-win32
Sep 29 '07 #4
On 29 Sep 2007 at 19:40, jacob navia wrote:
co********@mail inator.com wrote:
>Hey guys-

I've decided to learn me some C, as any hacker must :)

So I've got a C compiler handy, and I've downloaded the book by
Kernergan and Richie that was recommended to me...

The book is NOT available for download. You got it in an illegal
fashion.
I believe you should be a little more cautious before throwing around
accusations like that. There *are* ebooks that are legally available to
download from the publishers... now, I'm not sure whether or not K&R is
available in that format, but it's quite possible.
>
>One bad thing tho is it doesn't have solutions printed at the back, so
what I'd like is to have a solutions manual to look at, instead of
spending a lot of time thinking about each of the examples.

Ahhh
It didn't occur to you that the objective of the
exercises is precisely to make you think?

But obviously you have lost this capacity long long ago.
>Does anyone know a site with the solutions manual?

GO AWAY!
Of course you are right that it's much better to try the exercizes
before looking for solutions. The OP seems to me like someone who's
young and a bit immature, full of himself to be sure, but enthusiastic,
and gentle correction might yield more fruit than aggression.

As it happens, there is an (incomplete) collection of solutions to K&R2,
maintained by one of the regular posters here:
http://users.powernet.co.uk/eton/kandr2/krx123.html
Well worth studying the solutions there - *after* trying the exercizes
for yourself, of course.

Sep 29 '07 #5
On Sat, 29 Sep 2007 12:37:43 -0700, in comp.lang.c ,
co********@mail inator.com wrote:
>So I've got a C compiler handy, and I've downloaded the book by
Kernergan and Richie that was recommended to me...
Others have pointed out that the book isn't legally available for d/l,
so I'll say no more about it.
>One bad thing tho is it doesn't have solutions printed at the back, so
what I'd like is to have a solutions manual to look at, instead of
spending a lot of time thinking about each of the examples.
Er, its kinda the point - you're /supposed/ to think about the
examples...
>Does anyone know a site with the solutions manual?
Search the fine web. Seriously - its the very first hit.

--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
Sep 29 '07 #6
Mike Wahler said:

<snip>
There isn't a [K&R2] solutions manual that I'm aware of.
Tondo and Gimpel (dead tree); clc-wiki (er, undead tree?)

But yes, the whole point is for the OP to give it a go himself, rather than
reach for pre-canned answers.

--
Richard Heathfield <http://www.cpax.org.uk >
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Sep 29 '07 #7
Fred said:

<snip>
There *are* ebooks that are legally available to
download from the publishers... now, I'm not sure whether or not K&R is
available in that format, but it's quite possible.
I *am* sure - it is not legally available in electronic form. Every now and
again I come across an online version, and report the URL to Prentice
Hall. They have people to deal with that sort of thing.

<snip>
>
As it happens, there is an (incomplete) collection of solutions to K&R2,
maintained by one of the regular posters here:
http://users.powernet.co.uk/eton/kandr2/krx123.html
Please don't go there, as it is no longer maintained by anyone. Go here
instead: http://clc-wiki.net/wiki/K%26R2_solutions

--
Richard Heathfield <http://www.cpax.org.uk >
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Sep 29 '07 #8
On Sep 29, 11:19 pm, Mark McIntyre <markmcint...@s pamcop.netwrote :
On Sat, 29 Sep 2007 12:37:43 -0700, in comp.lang.c ,

coolcat...@mail inator.com wrote:
So I've got a C compiler handy, and I've downloaded the book by
Kernergan and Richie that was recommended to me...
<snip>
Search the fine web. Seriously - its the very first hit.
Maybe you get different hits when you can't spell either Kernighan or
Ritchie :)
>
--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
Sep 29 '07 #9
In article <13************ *@corp.supernew s.com>,
Mike Wahler <mk******@mkwah ler.netwrote:
>Then you've just participated (perhaps unknowingly)
in theft of intellectual property.
You mean "violation of copyright".

Theft involves the intent to deprive the owner of the thing taken.
Violating copyright does not deprive the author of his "intellectu al
property"; at most it deprives him of putative income from it.

-- Richard
--
"Considerat ion shall be given to the need for as many as 32 characters
in some alphabets" - X3.4, 1963.
Sep 29 '07 #10

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

Similar topics

49
2857
by: Ville Vainio | last post by:
I don't know if you have seen this before, but here goes: http://text.userlinux.com/white_paper.html There is a jab at Python, though, mentioning that Ruby is more "refined". -- Ville Vainio http://www.students.tut.fi/~vainio24
2
1301
by: Womble One | last post by:
Is there any way to get the 'Obsolete' attribute to work across multiple solutions? I currently have 70 solutions, each with 3 projects in them, and would like to change some base architecture, letting the app developers fix their own code over time. It works great in the first solution, but any solution consuming classes defined in an earlier solution does not respond to the attribute at all.
0
2556
by: Joeyej | last post by:
Hi - I'm trying to move/use a web form (containing some javascript field checks) previously hosted on a Windows 2000 server. However, the FORM METHOD="post..." command in the form (shown below) now renders "Page not Found" when launched on the new Windows 2003 server (ws-server1). The form is designed to use the write.asp program to write to an Acccess database and is successful on any Windows 2000 server. This is frustrating because...
9
2510
by: John Salerno | last post by:
There is an article on oreilly.net's OnLamp site called "The World's Most Maintainable Programming Language" (http://www.oreillynet.com/onlamp/blog/2006/03/the_worlds_most_maintainable_p.html). It's not about a specific language, but about the qualities that would make up the title language (learnability, consistency, simplicity, power, enforcing good programming practices). I thought this might be of interest to some of you, and I...
669
26045
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic paper written on this subject. On the Expressive Power of Programming Languages, by Matthias Felleisen, 1990. http://www.ccs.neu.edu/home/cobbe/pl-seminar-jr/notes/2003-sep-26/expressive-slides.pdf
1
1383
by: Recrutamento_Stefanini | last post by:
Prezados, Quem tiver interesse e dentro do perfil, por favor encaminhar cv's atualizados para o e.mail: lpsouza@stefanini.com.br ou pelo telefone: (21) 2212-8602 "URGENTE" 03 anos de Experincia. Java, WebSphere, DB2, SQL, AIX, Shell Scripting, Perl
84
8577
by: aarklon | last post by:
Hi all, I found an interesting article here:- http://en.wikipedia.org/wiki/Criticism_of_the_C_programming_language well what do you guys think of this article....??? Is it constructive criticism that needs to be appreciated always...???
13
1934
vikas251074
by: vikas251074 | last post by:
When change the <script language="javascript"> to <script type="text/javascript">, javascript function now works no more. Previously it was working. Javascript function is given below - function log1() { window.location="log1.asp" } function page1() { window.location="page1.asp" }
0
8752
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9401
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...
1
9176
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
8097
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
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
6011
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
4519
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
3221
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
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.