473,797 Members | 3,126 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I've read K&R, what now?

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.

May 31 '07 #1
22 2584
gi******@gmail. com wrote:
I'd like to say I have a basic control of the C language. Is there any
reccomended reading upon completion of K&R?
Have you gone though the exercises?
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?
Probably too many to summarise. Have a look on sourceforge, there are
quite a few small projects on the go there.

--
Ian Collins.
May 31 '07 #2
I've gone through most of the exercises, yeah. The only ones I didn't
do were the ones where the solution were immediately obvious.

May 31 '07 #3
On May 31, 3:44 pm, gilli...@gmail. com wrote:
I've gone through most of the exercises, yeah. The only ones I didn't
do were the ones where the solution were immediately obvious.
So you do know every nuances in C ^-^
Maybe you should have a look on computer architecture and assembly to
dig deeper.

May 31 '07 #4
gi******@gmail. com said:
I'd like to say I have a basic control of the C language.
That's good. If you've done most of the exercises, that's actually
amazing.
Is there any reccomended reading upon completion of K&R?
http://www.cpax.org.uk/prg/portable/...s.php#RecBooks
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?
That's probably a good way to pick up lots of bad habits real fast. I'm
not saying you shouldn't do it, but if I were you I'd keep a close eye
on comp.lang.c for quite a while yet - if K&R is like learning to
drive, clc is a bit like a driving test (although we don't actually
offer certification as such[1]!). We tend to spot *everything* you're
doing wrong, and we write it all down too. It can be a disspiriting
experience at first, but you'll be a better C programmer as a result.
[1] Perhaps we should.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
May 31 '07 #5
On 31 May 2007 00:03:45 -0700, gi******@gmail. com wrote:
>I'd like to say I have a basic control of the C language. Is there any
reccomended reading upon completion of K&R?
Read it (better study it) again ;-)
>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?
You should take a look at a real-world C program that is not too large
and written in decent C. JSON-C (http://oss.metaparadigm.com/json-c/)
is a candidate. It implements routines for handling the JSON protocol
(http://www.json.org/). You may start by browsing the source code and
trying to understand at least parts of it, e.g. 'arraylist' or
'linkhash'.

Good luck!
--
Roland Pibinger
"The best software is simple, elegant, and full of drama" - Grady Booch
May 31 '07 #6
Richard Heathfield wrote:
gi******@gmail. com said:
.... snip ...
>
>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?

That's probably a good way to pick up lots of bad habits real fast.
I'm not saying you shouldn't do it, but if I were you I'd keep a
close eye on comp.lang.c for quite a while yet - if K&R is like
learning to drive, clc is a bit like a driving test (although we
don't actually offer certification as such[1]!). We tend to spot
*everything* you're doing wrong, and we write it all down too. It
can be a disspiriting experience at first, but you'll be a better
C programmer as a result.

[1] Perhaps we should.
Probably not. It would be a full time job just separating the
faulty corrections.

The OP can also snoop around my publications, on:

<http://cbfalconer.home .att.net/download/>

--
<http://www.cs.auckland .ac.nz/~pgut001/pubs/vista_cost.txt>
<http://www.securityfoc us.com/columnists/423>
<http://www.aaxnet.com/editor/edit043.html>
<http://kadaitcha.cx/vista/dogsbreakfast/index.html>
cbfalconer at maineline dot net

--
Posted via a free Usenet account from http://www.teranews.com

May 31 '07 #7
Richard Heathfield wrote:

[Warning: I did post a replay via google, but that one never appeared]
gi******@gmail. com said:
>I'd like to say I have a basic control of the C language.

That's good. If you've done most of the exercises, that's actually
amazing.
>Is there any reccomended reading upon completion of K&R?

http://www.cpax.org.uk/prg/portable/...s.php#RecBooks

OK, I will walk through this list:
1. C Programming: A Modern Approach, K.N.King
2. C: How to Program, 2nd Ed. Deitel, H.M. & Deitel

Comment (1 & 2): These two books after K&R2, shouldn't be needed.
3. The C Programming Language, 2nd Ed. Kernighan & Ritchie.

Comment: N/A. (OP has already read this one)
4. C: A Reference Manual, 4th Ed. Harbison & Steele

Comment: OP don't need H&S now, just use K&R2.
5. The Standard C Library. P.J.Plauger

Comment: I read this one too early myself, and it was too advanced. I
would suggest 2-3 years of C experience first.
6. C Programming FAQs Steve Summit.

Comment: Very useful resource at this stage for OP.
7. ISO/IEC 9899:1999 ISO.

Comment: Latest draft is available online, likely a far too advanced
text for beginners.
8. C Traps and Pitfalls. Andrew Koenig

Comment: Nice little book, not a must read now.
9. Expert C Programming: Deep C Secrets, Peter van der Linden

Comment: Excellent & funny book, but not recommended for beginners.
10. Problem Solving And Program Design In C, 2nd Ed. Hanly & Koffman.

Comment: N/A (I don't have that book)
11. Algorithms in C, 3rd Ed. Robert Sedgewick

Comment: Excellent book, if OP is interested in algorithms
12. C Unleashed, Heathfield, Kirby et al,

Comment: Thick as a brick, with some nice real-world code in it.
Readable after K&R2, and can be used as murder weapon too.
13. Software Solutions in C, ed Dale Schumacher

Comment: N/A
14. Programs and Data Structures in C, Leendert Ammeraal.

Comment: I haven't this book either, but IMO a book on Data Structures
is the natural step after K&R2.
15. Numerical Recipes in C

Comment: Mainly relevant for physics and chemistry students, not the
place to learn C.

That completes the recommendations from Richard H., which lack any
references to platform-dependent coding, if OP is using UNIX/Linux, a
book on POSIX (e.g. Stevens APUE http://www.kohala.com/start/) is much
more useful, than many of the above suggestions.

--
Tor <torust [at] online [dot] no>
May 31 '07 #8
Tor Rustad said:
Richard Heathfield wrote:

[Warning: I did post a replay via google, but that one never appeared]
>gi******@gmail. com said:
>>I'd like to say I have a basic control of the C language.

That's good. If you've done most of the exercises, that's actually
amazing.
>>Is there any reccomended reading upon completion of K&R?

http://www.cpax.org.uk/prg/portable/...s.php#RecBooks


OK, I will walk through this list:
<snip>
>
7. ISO/IEC 9899:1999 ISO.

Comment: Latest draft is available online, likely a far too advanced
text for beginners.
He's hardly a beginner. He's completed almost all the exercises in K&R2!
9. Expert C Programming: Deep C Secrets, Peter van der Linden

Comment: Excellent & funny book, but not recommended for beginners.
Aye. But again, he's not a beginner. Actually, this one is recommended a
lot, but personally I think it's a bit too eccentric to make a good
followup to K&R2. It is a good book, no question about that, but it's
more of a book that you'd read on a long train journey or, say, to
while away an hour or so at a party - the kitchen is a good place for
this, since you can usually find a spare bottle or two of wine.
11. Algorithms in C, 3rd Ed. Robert Sedgewick

Comment: Excellent book, if OP is interested in algorithms
If he isn't, he sure picked a funny career.
13. Software Solutions in C, ed Dale Schumacher

Comment: N/A
Fabulous book. Well worth the trouble it will take to find a copy.

14. Programs and Data Structures in C, Leendert Ammeraal.

Comment: I haven't this book either, but IMO a book on Data Structures
is the natural step after K&R2.
I do have a copy, and it's first-class.
15. Numerical Recipes in C

Comment: Mainly relevant for physics and chemistry students, not the
place to learn C.
Yeah, I ought to strip that off the list, really.
That completes the recommendations from Richard H., which lack any
references to platform-dependent coding, if OP is using UNIX/Linux, a
book on POSIX (e.g. Stevens APUE http://www.kohala.com/start/) is much
more useful, than many of the above suggestions.
Well, this is a platform-independent group. If I were pushed for
platform-specific recommendations , I would start off by saying APUE to
the POSIX people, PW (Petzold, 5th edition ONLY) to the Win32 people,
and UNP to both groups (yes, even the Win32 people, and even though
porting the code from one to the other isn't entirely effortless).

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
May 31 '07 #9
Is there any reccomended reading upon completion of K&R?

I would also add Writing Solid Code by Steve Maguire.

Michael

May 31 '07 #10

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

Similar topics

9
8581
by: Collin VanDyck | last post by:
I have a basic understanding of this, so forgive me if I am overly simplistic in my explanation of my problem.. I am trying to get a Java/Xalan transform to pass through a numeric character reference (i.e.  ) and it seems to be converting the character to its UNICODE representation. Take this source XML document: <?xml version="1.0" encoding="UTF-8"?>
1
11445
by: DrTebi | last post by:
Hello, I have the following problem: I used to "encode" my email address within links, in order to avoid (most) email spiders. So I had a link like this: <a href="mailto:DrTebi@yahoo.com">DrTebi</a> This would work like a regular mailto link in any browser, but wouldn't be visible to spiders if they don't have a function to decode it.
0
2425
by: Thomas Scheffler | last post by:
Hi, I runned in trouble using XALAN for XSL-Transformation. The following snipplet show what I mean: <a href="http://blah.com/?test=test&amp;test2=test2">Test1&amp;</a> <a href="http://blah.com/?test=test&amp;amp;test2=test2">Test2&amp;amp;</a> This results in the following HTML Code:
1
7067
by: Richard P | last post by:
I've feel that I have tried everything possible but I still cannot get my code to work in both netscape version 6 and IE. My Javascript is in XSL files but this should not matter. I am using the frameset below, the ids are different but the names are the same. The names are the same because I have a function to minimise and maximise a frame given its name and this uses getElementsByName. <frameset rows="50,50" id="fsMain">
14
4637
by: vic | last post by:
My manager wants me to develop a search program, that would work like they have it at edorado.com. She made up her requirements after having compared how search works at different websites, like eBay, Yahoo and others. This is what she wants my program to be able to do: (try this test at different websites just for fun). At eBay: - enter the word 'television' in a search field à you will get 2155 items.
4
3230
by: johkar | last post by:
When the output method is set to xml, even though I have CDATA around my JavaScript, the operaters of && and < are converted to XML character entities which causes errors in my JavaScript. I know that I could externalize my JavaScript, but that will not be practical throughout this application. Is there any way to get around this issue? Xalan processor. Stripped down stylesheet below along with XHTML output. <?xml version='1.0'?>...
14
5937
by: Arne | last post by:
A lot of Firefox users I know, says they have problems with validation where the ampersand sign has to be written as &amp; to be valid. I don't have Firefox my self and don't wont to install it only because of this, so I hope some of you gurus can enlighten me with this :) In what circumstances can the "&amp;" in the source code be involuntary changed to "&" by a browser when or other software, when editing and uploading the file to the web...
7
4629
by: John Nagle | last post by:
I've been parsing existing HTML with BeautifulSoup, and occasionally hit content which has something like "Design & Advertising", that is, an "&" instead of an "&amp;". Is there some way I can get BeautifulSoup to clean those up? There are various parsing options related to "&" handling, but none of them seem to do quite the right thing. If I write the BeautifulSoup parse tree back out with "prettify", the loose "&" is still in there. So...
0
9685
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
9536
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
10021
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...
0
9063
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 project—planning, coding, testing, and deployment—without 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
7559
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
6802
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
5458
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
4131
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
3748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.