computer books and technical books at discount prices
Advanced Search
View
My
0
Shopping
Bag
Home Login F.A.Q. Contact Us
 
My Myself and I:
 Order Tracking 
 My Wishlist 
 My Gift Registry 
 Change User Preferences 
 E-mail Notifications 

Browse Books:
 Bestsellers 
 New Arrivals 
 Bargain Computer Books 
 Classic Computer Books 

Browse Subjects:
 business & finance 
 business applications 
 cad/cam 
 certification 
 computing 
 databases 
 desktop publishing 
 engineering 
 gaming 
 geographic/gis 
 graphics/animation 
 groupware 
 internet 
 mathematics 
 microsoft programming 
 multimedia 
 networking 
 object-oriented 
 operating systems 
 other & misc 
 physics 
 programming languages 
 servers 
 web design/development 

C for Java Programmers
by Muldner, Tomasz
 

 
Cover Price: $95.60
Online Price: $74.57
You save $21.03 (22%)

 

ISBN-10: 0201702797
ISBN-13: 9780201702798
Publisher: Addison-Wesley
Published March 2000; Paperback; 499 pages
Add to Shopping Bag
 

OUT OF STOCK
0 COPIES
 
Add to Wishlist
Related categories:
All Sections > Programming Languages > C

Summary:

With C for Java Programmers, Tomasz M,ldner adopts an innovative approach modern ANSI C techniques to readers already familiar the 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, this book provides a thorough discussion of issues such as memory management, pointer use, and exception handling—topics traditionally more troublesome for novice C programmers—which become increasingly important in the less-protected world of C.

0201702797B04062001

Table of Contents:
Preface.
1. Introduction.
Preview.
About C.
Object-Oriented versus Procedural Programming.
A Brief Comparison of C and Java.
Why is C Still Useful?
Development Process.
Compilation, Linking, and Preprocessing.
Portability, Efficiency, and Correctness.
Programming Style.
Programming with Idioms.

2. Example of a C Program.
General Documentation.
Run-Time Libraries and Function Declarations.
Global Definitions.
User-Defined Functions.
The main Function.
Sample Output.

3. Lexical Structure, Primitive Data Types, and Terminal I/0.
Preview.
Lexical Structure.
Alphabet.
Comments.
Trigraphs.
Line Structure.
Tokens.
Identifiers.
Keywords.
Primitive Data Types and Declarations.
Primitive Data Types.
Declarations of Variables and Constants.
Assignment.
The main Program.
Constants.
Integer Constants.
Floating-Point Constants.
Character Constants.
String Constants.
Expressions.
Terminal Input/Output.
Single Character I/O.
Formatted I/O.
Type Conversions.
sizeof.
Conversions.
Type Synonyms: typedef.
List of Common Errors.
List of Idioms.
List of Programming Style Guidelines.
List of Portability Guidelines.
Exercises.

4. Control Structures.
Preview.
Logical Expressions.
Control Statements and Their Idiomatic Use.
Testing andDebugging.
Loops.
List of Common Errors.
List of Idioms.
List of Programming Style Guidelines.
Exercises.

5. Text Files.
Preview.
Introduction.
File Handles.
Opening and Closing Files.
Basic File I/O Operations.
Testing for End-of-Line and End-of-File.
Handling Errors.
List of Common Errors.
List of Idioms.
Exercises.

6. The C Preprocessor.
Preview.
Introduction.
Macros.
Parameterless Macros.
Predefined Macros.
Macros with Parameters.
Undefining and Redefining Macros.
File Inclusion.
Conditional Compilation.
Debugging.
Header Files: Part 1.
Portability.
Line Numbering.
List of Common Errors.
List of Idioms.
List of Programming Style Guidelines.
Exercises.

7. Functions, Scope, and Introduction to Module-Based Programming.
Preview.
Functions and Their Documentation.
Declarations and Definitions.
Functions and Void.
Type Conversion.
The exit Function.
Scope.
Blocks.
Global Variables.
Storage Classes and Lifetime.
Initialization of Variables.
Module-Based Programming: Part 1.
Design for Change.
Sharing Functions and Variables: extern.
Linkage and the static Keyword.
Header Files: Part 2.
Encapsulation.
Using Modules.
Types of Modules.
Overloading Functions: Variable Number of Arguments.
List of Common Errors.
List of Idioms.
List of Programming Style Guidelines.
Exercises.

8. Pointers and Their Applications.
Preview.
Stack and Heap Based Memory.
Basic Terminology.
Declaring and Casting Pointers.
Dereferencing Pointers and the Address Operator.
Pointer Assignments.
Qualified Pointers.
Generic Pointers and NULL.
Pointer Conversions.
Standard Type Definitions.
Heap Memory Management.
Memory Allocation.
Memory Deallocation.
Pointer Arithmetic.
The Sum of a Pointer and an Integer.
Difference of a Pointer and an Integer.
Pointer Comparison: , , , =, ==, !=.
Pointer Subtraction.
Working with Memory Blocks.
File I/O for Memory Blocks: Binary Files.
Current File Position.
Binary Reading and Writing.
Pointers and Functions.
Pointer Parameters.
Protecting Return Values and Parameter Values: const.
The Dangling Reference Problem.
Overriding Functions: Pointers to Functions and Functions as Parameters.
Reusability of Functions: Generic Pointers.
Declarators: Part 1.
Pointers to Blocks Containing Pointers.
Module-Based Programming: Part 2.
Basic Terminology.
Homogenous Collection of Objects.
Pure Modules: Enumeration.
Homogenous Concrete Modules.
Heterogeneous Data Structures.
List of Common Errors.
List of Idioms.
List of Programming Style Guidelines.
List of Portability Guidelines.
Exercises.

9. Strings.
Preview.
Character Processing Functions.
Strings in C.
Definitions of Strings and String Constants.
Strings, Parameters, and Return Values.
Formatted String I/0.
Line-Oriented String I/0.
C String Operations.
Length.
Copying.
Comparisons.
Search.
Processing Tokens.
String-to-Number Conversions.
Standard Error Handling.
Module for String Tokenizing.
Main Function's Arguments.
List of Common Errors.
List of Idioms.
Exercises.

10. Arrays.
Preview.
Single-Dimensional Arrays.
Arrays as Parameters.
Array Initialization and Storage.
Declarators: Part 2.
Multi-Dimensional Arrays.
Dynamic Array Module (with Preconditions).
Testing Preconditions.
Interface.
Application.
Implementation.
List of Common Errors.
List of Idioms.
List of Programming Style Guidelines.
Exercises.

11. Structures and Their Applications.
Preview.
Structures and Classes.
Declaring and Using Structures.
Nested Structures and Incomplete Definitions.
Assigning and Comparing Structures.
Structures and Other Constructs.
Structures and Pointers.
Structures and Functions.
Blocks of Structures and Pointers to Structures.
Structures and Arrays.
Initialization of Structures.
Structures and Pointers to Functions.
Structures and Header Files.
Binary Files: Part 2.
Introduction to Linked Lists.
Module-Based Programming: Part 3.
Implementation of Opaque Types.
Enumerations.
Generic Dynamic Array Module with Enumerations.
List Module.
List of Common Errors.
List of Idioms.
List of Programming Style Guidelines.
List of Portability Guidelines.
Exercises.

12. Enumerated Types and Unions.
Preview.
Enumerated Types.
Unions.
List of Idioms.
List of Programming Style Guidelines.
Exercises.

13. Bitwise Operations and Bit Fields.
Preview.
Bitwise Operations.
Bit Fields.
List of Portability Guidelines.
Exercises.

14. Module-Based Programming: Finale.
Preview.
Error Handling.
Long Jumps.
Exception Handling.
Characterization of Modules.
Shallow and Deep Interfaces.
Lists.
Conclusion.
Exercises.

Appendix A: Precedence and Associativity Tables.
Appendix B: Summary of All Standard Library Functions.
B.1 Formatted Input.
B.2 Formatted Output.

Appendix C: Glossary.
Appendix D: The Complete List of Common Errors.
Chapter 3.
Chapter 4.
Chapter 5.
Chapter 6.
Chapter 7.
Chapter 8.
Chapter 9
Chapter 10.
Chapter 1.

Appendix E: The Complete List of Idioms.
Chapter 3.
Chapter 4.
Chapter 5.
Chapter 6.
Chapter 7.
Chapter 8.
Chapter 9.
Chapter 10.
Chapter 1.
Chapter 12.

Appendix F. The Complete List of Programming Style Guidelines.
Chapter 3.
Chapter 4.
Chapter 6.
Chapter 7.
Chapter 8.
Chapter 10.
Chapter 1.
Chapter 12.

Appendix G: The Complete List of Portability.
Guidelines.
Chapter 3.
Chapter 8.
Chapter 1.
Chapter 13.

Appendix H: Cross Reference Index of Useful Code
Fragments.

References.
Index.


Related titles:
Problem Solving and Program Design in C, 7th Edition21st Century C: C Tips from the New SchoolC Pocket Reference (Covers ANSI C99)Head First CObjective-C Programming For DummiesLearn C on the Mac: For OS X and iOS, 2nd Edition