C for Java Programmers (Java (Addison-Wesley))

C for Java Programmers (Java (Addison-Wesley))
Authors
Tomasz Muldner
ISBN
0201702797
Published
16 Mar 2000
Purchase online
amazon.com

With C for Java Programmers, Tomasz Mldner adopts an innovative approach to teaching modern ANSI C techniques to readers already familiar with Java concepts. He takes advantage of the techniques and underlying design principles present in object-oriented languages like Java, and incorporates them to create a set of programming standards applicable to C. These standards are present throughout each chapter both in short examples and in longer modules.

Page 2 of 2
  1. Editorial Reviews
  2. Customer Reviews

Customer Reviews

jackietreehorn said
current C books are written for beginners, and I thought this book can help me skip all the info I don't need (such as loops, if/else, etc) and learn C quicker thanks to my good Java knowledge. However it fails to do that. It contains way too many details for a java programmer, and unnecessary info for a beginner.

If I would compare this book to a standard "c tutorial for java programmers" (and believe me there are many), the only positive thing would be the big number of exercises the book contains. However there are no answers to the exercises, and the author does not even reply to your email, if you ask for them nicely.

Don't waste your money and get a nice C book that you can use as a reference, or use a free "C tutorial for java programmers"

Ali Civril said
Having learned Java in CS1 Algorithms and Programming course, I immediately started to look for C++ books at the end of the year. In fact, I was unable to make decision whether to go for C or C++ and actually confused among dozens of C and C++ books that have different approaches to the topic and have different assumptions about programming experience of the reader. Eventually, this book was the definite choice for me.

The book starts with an example that demonstrates a simple I/O operation just to show the structure and syntax of the language.

Other than that, the topics are generally well organized. From base to the top. Throughout the book, the author explicitly warns the reader about general mistakes, encourages to use portable code and gives several programming idioms and lists all of them at the end of the book.

Pointers are especially described in a long chapter and their common applications are demonstrated. For my part, introduction to this chapter was very valuable as it basically explains the stack and heap-based memory, the concepts that Java programmers are not familiar with.

There are some minor gaps that take the one star. I think there are some listings that need more explanation and some code fragments could have been inserted in a complete program to give sample output in order to make thing more clear, (for example while explaining the conversion from binary to text and text to binary files)

However, it doesn't change the fact that you can learn C quickly with this book. It's definitely not a reference book, but self-sufficient as stated in the introduction. "C for Java programmers" title is really specific and this book really does what it promises. It's the shortest way to learn C if you know Java.

I took that book and had worked on C intensively for 3 weeks disregarding the last chapter about module-based programming, and having taken the basics, moving onto C++ was not difficult.

Brandon W. Uhlman said
Most concepts are covered well, and in a logical order. Occasionally, you are told to accept things and understand them later (like the use of pointers in text filehandles.)

Concepts not commonly used (like enumerations and unions) are covered to allow the reader to understand code they may have to read, but key concepts certainly get more page space. Special libraries are not used for things like string I/O - meaning one learns 'pure' ANSI C. In this regard, a far better text when compared to Roberts' "The Art and Science of C".

Idioms are used - the ideas are covered, and 'idioms' (frequently used code patterns) relating to the topic are provided. A complete list of these idioms, as well a common errors and portability guidelines are included in the Appendicies.

Overall, a good book which which to teach oneself C. An okay reference as well, but that's not what it's designed for.

(This review is based on a pre-publication copy used by Dr. Müldner in teaching his first-year C course at Acadia University.)

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” - Tom Cargill