Features
- Cover Type: Paperback with 500 pages
- Published by: Addison Wesley March 16, 2000
- Written in: English
- ISBN 10 Number: 0201702797
- ISBN 13 Number: 978-0201702798
-
Book Dimensions:
9.1 x 7.7 x 1.3 inches
- Weighs: 1.9 pounds
Book Description
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. C for Java Programmers centers around such vital concepts as the ability to extend and modify modules, represent enumerations, create concrete and generic modules, and use shallow and deep copying of data elements. In addition, the book provides a thorough discussion of memory management, pointer use, exception handling, and other topics that are traditionally more troublesome for novice C programmers, and that are essential for code generation in the less protected world of C.
Highlights
Allows programmers with experience in Java to make a swift transition to C
Introduces both low and high level C constructs, and so acts both as a tool for learning the language and as a reference
Introduces a set of programming standards essential for the creation of portable, modular and robust C programs
Contains lists of programming and portability guidelines, coding idioms, and common errors to reinforce use of good design principles, and to serve as a convenient reference
Provides over 100 sample programs and over 190 end-of-chapter exercises (with solutions given for half of them) to further enhance understanding
Book Info
Adopts an innovative approach to teaching modern ANSI C techniques to readers already familiar with Java concepts. Softcover. DLC: C (Computer program language).
Reader ReviewsHaving 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.