×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

literature for introduction to C programming
3

literature for introduction to C programming

literature for introduction to C programming

(OP)
I am looking for a recommendation on reference material to start out with in learning (relearning) C programming. I only took 2-3 courses in it in college and would like to start with basic review and progress. Any books' recommendation would be great!

RE: literature for introduction to C programming

You could check this two books:

"C: The Complete Reference"
by Herbert Schildt

"C++: The Complete Reference, 4th Edition (Paperback)"
by Herbert Schildt

The last one describes both C and C++, but emphasizes the last one. Both books have descriptions and reviews on amazon.com

I only have the last one, which I think is a great book to have and very useful, but I am sure there are other good books as well.

RE: literature for introduction to C programming

There's one titles simply "ANSI C", but I don't have a copy near me to check on the author (as I'm sure there will be multiple books labeled similarly).  It had a yellow binding, if that helps narrow it down.  I found the book to not only explain the salient points of C in a clear way that was also very instructive, it continues to serve as a great reference 10+ years later...

Dan
Owner
http://www.Hi-TecDesigns.com

RE: literature for introduction to C programming

"The C Programming Language" ISBN 0131103628 by Brian Kernighan and Dennis Ritchie is excellent.

Good Luck,
Greg Hansen

RE: literature for introduction to C programming

The original is still the best!
"The C Programming Language" by Kernighan and Ritchie
is the way to go.

I suggest that you follow along with the examples in
the book and program them as you go.  Then try them
out and make them work.  Then "play" with them (modify)
and see what happens.  Then onto the next section.

  Cheers,

   Rich S.

RE: literature for introduction to C programming

Well, to start, why do you want to learn C now?  What plat are you developing on?  What applications for it are you looking at?  C++ mostly replaced C except for some things, like the Linux kernel.

For business type apps, which I work in, and which, from my observations, most of the jobs in the US are in, it is mostly C# (and other .net langs, like, ughhh, VB.NET) and java.

C is a very, very low level language.  I would place C about a level above asm.  Very few people do C aside from very specialized things like kernels and drivers.  C++ is a step above that, but C++ has it’s performance drawbacks for things like kernels and drivers.

I mostly do windows development.  I have not done a pure C commercial project since DOS.  C++ pops up on occasion.  Now, most of the game is C# and java.


  

RE: literature for introduction to C programming

"C++ mostly replaced C except for some things, like the Linux kernel."

"C is a very, very low level language.  I would place C about a level above asm.  Very few people do C aside from very specialized things like kernels and drivers."

With the above two statements, paul, I would venture to say you have your head stuck in the sand.  Ever tried to write an embedded app in C++?  I thought not, especially considering how many billions of embedded processors are out there running C/asm code on them.  A few embedded apps are written using C++, but C has the lion's share by far, along with numerous other languages.  To consider C barely a step above asm is ludicrous.

Dan - Owner
http://www.Hi-TecDesigns.com

RE: literature for introduction to C programming

C++ is a requirement for gratuitous bloatware.  Never heard of a single microcontroller being stricken with it.

I would guess more C is written than anything else. Because I think there are more embedded systems writers than all other classes of software. I could be wrong though just a guess.

Keith Cress
Flamin Systems, Inc.- http://www.flaminsystems.com

RE: literature for introduction to C programming

C has always been the primary language in the domain of embedded systems and telecommunication. All micro-controller and micro-processor programming is done in C.

paulfrancis (Chemical),

C is probably the only language which can be used for both high and low level programming. U would be surprised at the number of telecom and gaming companies in the world (not just US) which code in C.

fuseshut (Electrical),

C is an extremely versatile and robust language and I am sure it will be around for many more years. My recommendations would be:

1) Programming in ANSI C - Prof. E. Balagurusamy
2) Let Us C                       - Yashavant Kanetkar

RE: literature for introduction to C programming

fuseshut;

Kernighan and Ritchie is THE de facto standard handbook for C.  They are the guys who brought it to life. It is the definitive authority.

Me? I find it not that great a book, a little to obscure for me.  I have gone thru many books on C but the very best I have found, and it's a great book to read, is... I forget.. I never could remember the name of any book only what's in it.  So when I get in to the office I will look at it and come back here with it. It is very clear with excellent examples and it's very logically and cleanly written. And it's funny to boot.  A good read.  I give it a 10 out of 10.  Now if I could only remember the name of it.. tisk, tisk, banghead

Keith Cress
Flamin Systems, Inc.- http://www.flaminsystems.com

RE: literature for introduction to C programming

Programming in ANSI C - Prof. E. Balagurusamy
Kernighan and Ritchie

These were both highly recommended to me when I thought I would need to program in C.

In the end, I was programming in Pascal. Another story.

"Do not worry about your problems with mathematics, I assure you mine are far greater."   
Albert Einstein
Have you read FAQ731-376 to make the best use of Eng-Tips Forums?

RE: literature for introduction to C programming

I was given to understand that "Real Programmer's Don't Talk Pascal"... clown

RE: literature for introduction to C programming

That is what we like everyone to think. winky smile

"Do not worry about your problems with mathematics, I assure you mine are far greater."   
Albert Einstein
Have you read FAQ731-376 to make the best use of Eng-Tips Forums?

RE: literature for introduction to C programming

Real programmers don't eat quiche - they eat Twinkies and Szechwaun food.

"Do not worry about your problems with mathematics, I assure you mine are far greater."   
Albert Einstein
Have you read FAQ731-376 to make the best use of Eng-Tips Forums?

RE: literature for introduction to C programming

Loved the bit about wearing climbing boots in the computer room just in case an Alp suddenly appears... clown

And writing everything in FORTRAN  whilst having a sneaking regard for C...

RE: literature for introduction to C programming

Hiya-

As I remember it, it wasn't:
"I was given to understand that "Real Programmer's Don't Talk Pascal".."

Rather:

"Real prgrammers don't use lower case."

or

CODE

C       FORTRAN IV
        WRITE (6,100)
 100    FORMAT( 36HREAL PROGRAMMERS DONT USE LOWER CASE)
        STOP
        END
   Cheers,

    Rich S.

RE: literature for introduction to C programming

No!  Real programmers use GOTO statements!

Keith Cress
Flamin Systems, Inc.- http://www.flaminsystems.com

RE: literature for introduction to C programming

There are no GOTO in real Pascal. winky smile

"Do not worry about your problems with mathematics, I assure you mine are far greater."   
Albert Einstein
Have you read FAQ731-376 to make the best use of Eng-Tips Forums?

RE: literature for introduction to C programming

Yes.

That's always been a bit of a problem.

ASSIGNED GOTOs are really magic.

RE: literature for introduction to C programming

Some would say "Black magic".

I came from a Basic back-ground and lived by them buggers.

I keep forgetting to get that book name. So sorry!  I am writing myself a note!

Keith Cress
Flamin Systems, Inc.- http://www.flaminsystems.com

RE: literature for introduction to C programming

That is why only real programmer can program in Pascal.

hairpull

"Do not worry about your problems with mathematics, I assure you mine are far greater."   
Albert Einstein
Have you read FAQ731-376 to make the best use of Eng-Tips Forums?

RE: literature for introduction to C programming

Keith!

That book has a copyright date of 1996.

And I thought you were old school.  winky smile

"Do not worry about your problems with mathematics, I assure you mine are far greater."   
Albert Einstein
Have you read FAQ731-376 to make the best use of Eng-Tips Forums?

RE: literature for introduction to C programming

Ha!  I'm old school but not reeeeally old school.lol

Yeah, why do people name things that exist in a temporally based realm "modern" or "the new" which starts antiquating immediately.lookaround

Sill a good book!

Keith Cress
Flamin Systems, Inc.- http://www.flaminsystems.com

RE: literature for introduction to C programming

Real programmers don't comment
If it is hard to write, it should be harder to read

RE: literature for introduction to C programming

Go on usenet in one of the ebooks groups. I've seen dozens of programming language references posted in in the last month.

RE: literature for introduction to C programming

Hi,

I would recommend that you preview the books recommended on this thread aganist the reviews on this website.

http://brian.accu.org/bookreviews/public/index.htm

There are books out there which appears to be excellent, but really just propogate wrong information or is just a re-print of the manual.

cheers,
tyc

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close