473,785 Members | 2,419 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Going beyond the K&R book.

I have just finished the K&R's book. And, I would like to know what to
forget and add to the teaching of K&R? I ask this because I know that
no book is perfect, nor complete. ( even if they are the guys who wrote
C )
I would like to also help GNU projects, therefore I would like to know
the programming style to be adopted.

Nov 15 '05 #1
8 1724
When I was learning C, the Kochan & Wood books were invaluable. Two
book in particular I found very useful.

One, Topics in C, is still available but seems to be out of date. It
had tables of printf options and in general went into more detail about
the standard library.

Advanced C Tips and Techniques contained things that were not in any
other book at the time. The C runtime environment, 2D and 3D arrays
via pointers, sequence guarentee points. Really good stuff. It seems
to be available via download from their site and it seems to have been
recently updated.

I never used Programming in C but it looks like it is available and
updated. Based on my experience with the above two books, I would
check it out.

Here's their website: http://www.kochan-wood.com/

Good luck.

Nov 15 '05 #2

Corrupted Mind wrote:
I have just finished the K&R's book. And, I would like to know what to
forget and add to the teaching of K&R? I ask this because I know that
no book is perfect, nor complete. ( even if they are the guys who wrote
C )
I would like to also help GNU projects, therefore I would like to know
the programming style to be adopted.


I would probably go get a book that talks about linked lists, doubly
linked lists, binary trees, etc. If you plan on doing anything that
involves networking, I would probably get and read "Unix Network
Programming: The Sockets Networking API" byt the late W. Richard
Stevens.

Of course, no book is going to save you when you encounter something
like the following in some GNU projects

while(the_mary_ poppins_isnt_ga y) {
current = current -> next;
}

Nov 15 '05 #3
An**********@gm ail.com writes:
When I was learning C, the Kochan & Wood books were invaluable. Two
book in particular I found very useful.

[...]
Advanced C Tips and Techniques contained things that were not in any
other book at the time. The C runtime environment, 2D and 3D arrays
via pointers, sequence guarentee points. Really good stuff. It seems
to be available via download from their site and it seems to have been
recently updated.


The web page says that it is available for download. But I was not
able to find the actual download. Did you?

Asbjørn
--
Asbjørn Sæbø, post.doc.
Centre for Quantifiable Quality of Service in Communication Systems
Norwegian University of Science and Technology
<URL: http://www.q2s.ntnu.no/ >
Nov 15 '05 #4
Corrupted Mind wrote:

I have just finished the K&R's book. And, I would like to know what to
forget and add to the teaching of K&R? I ask this because I know that
no book is perfect, nor complete.


http://cm.bell-labs.com/cm/cs/cbook/2ediffs.html

--
pete
Nov 15 '05 #5
Corrupted Mind wrote:
I have just finished the K&R's book. And, I would like to know what to
forget and add to the teaching of K&R? I ask this because I know that
no book is perfect, nor complete. ( even if they are the guys who wrote
C )
I would like to also help GNU projects, therefore I would like to know
the programming style to be adopted.


Tips & tricks:
I would read expert C programming by Peter Van Linden for tips and
tricks only learned by experience with the langugage. It doesn't
include data structures or algorithms but just C techniques.

Style:
You might want to read Elements of Programming Style by Kernighan &
Plauger. If you want to work on a GNU project, you might want to read
Documentation/CodingStyle document in the linux kernel directory. It's
parallel with K & R C style. Further, you would want to read the GNU
coding standards document, search for it in google. But it contradicts
with the kernel coding style. So reading both, you would find your way
and decide yourself.

Bahadir

Nov 15 '05 #6
Corrupted Mind a écrit :
I have just finished the K&R's book. And, I would like to know what to
forget and add to the teaching of K&R? I ask this because I know that
no book is perfect, nor complete. ( even if they are the guys who wrote
C )
C Unleashed by some regulars of this news group :

http://users.powernet.co.uk/eton/unleashed/
I would like to also help GNU projects, therefore I would like to know
the programming style to be adopted.


Read their guidelines...
Nov 15 '05 #7
> The web page says that it is available for download. But I was not
able to find the actual download. Did you?


I didn'y try to download it since I have an old published copy. I
suspect you may have to register, login, and possibly pay in order
to download it.

Nov 15 '05 #8

Corrupted Mind wrote:
I have just finished the K&R's book. And, I would like to know what to
forget and add to the teaching of K&R? I ask this because I know that
no book is perfect, nor complete. ( even if they are the guys who wrote
C )
I would like to also help GNU projects, therefore I would like to know
the programming style to be adopted.

i too is in the same situation , but i think this book called 'A to Z
of C' by R. Rajesh Jeba Anbiah and K. Joseph Wesley is good (though it
mostly deals with dos stuff).it is available for free at
http://guideme.itgo.com/atozofc/

Nov 15 '05 #9

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

Similar topics

6
2216
by: | last post by:
I ask something relative later but the answer make me cry ;-) If we duplicate the browser window (both in IE / Mozilla), both of 2 browser windows use the same session!!! This produces many problems... My program is this: I have html format books inside zip files. If I choose a book from my main page, php sets $_SESSION = "a_book.zip"; and loads the index.html from a_book.zip. if we click a link inside index.html like:
1
1900
by: SK | last post by:
Hello group, I happened to check the review of C++ Templates & Tools (By Scott Robert Ladd) at http://accu.org. The book is in the "Not recommended" category. I will like to hear if you anyone else here had a chance to go through the book and if there is anything useful I could grab from the book. Hoping for a healthy criticism of the book.
42
2542
by: Andy | last post by:
and so far I'm loving it, I like the the authors don't beat around the bush and just come straight out and say what the book is sopposed to be. They assume the you have computer experience. I'm loving the exercises they really leave you with a sense of freedom to do what you want, just follow the rules. Just a little rant, I would definitely recommend this book to anyone interested in C. Great addition to anyones library.
6
1332
by: nabis | last post by:
First of all let me apologize for being so "green". You must have been pretty fed up with newbish questions, but, still I felt, that's the only place I could get a decent answer. Haven't been able to solve the 1-19 exercise (page 31) from K&R book, I decided, it's time to cheat, so I took peek at: http://users.powernet.co.uk/eton/kandr2/krx119.html Still I would not understand certain things, I will place the code, with my comments as...
14
3520
by: __frank__ | last post by:
What do you think about the following book: "C How to Program", 4th edition, ISBN: 0131426443 I'm a novice. Thanks in advance.
4
1484
by: Adrian | last post by:
I see that I can use the IDE of Visual C#.NET to develop web pages. I realize that this is off topic here, however I don't know of another place to ask my question, which is: Where can I find / buy good literature / tutorial to teach me how to use the C#.NET IDE to build web pages? I am not looking for a 500 page$ book full of non-essentials. I want to get down to brass tacks asap. Many thanks.
22
2584
by: gillisct | last post by:
I'd like to say I have a basic control of the C language. Is there any reccomended reading upon completion of K&R? Are there any projects someone new to C could study/watch over/ and eventually contribute to in order to get a grip on the development process and/or expand their knowledge? Thank you.
26
2119
by: rajiv.battula | last post by:
Hey everyone, I am a Java programmer, somewhere between novice to advanced. I wanted to know if it is still recommended to read "The C Programming Language" 2nd Edition? This edition was released in 1988, it is now 2007, almost 20 years. Also, since it is so old, is there some supplemental tutorial recommend to go along with it? Thanks for your advice. Rajiv Battula
0
10357
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
10162
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...
0
9959
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
7509
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
6744
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
5396
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
4063
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
2
3665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2893
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.