Illustrating C

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Using his unique formula--original and readable prose combined with graphics and calligraphy--Donald Alcock revolutionizes the teaching of the C programming language. A special feature of the layout of the book is the double-page spread: each one covers a particular topic making the book useful as a reference manual. This revised edition has benefited from many corrections and updates, and has now been printed in a wide-page format for ease of use. This book is an excellent introduction to standard (ANSI) C, and will provide a reference manual for beginning programmers, computer enthusiasts, and students.

Author(s): Donald Alcook; Donald Alcook
Edition: Revised
Publisher: Cambridge University Press
Year: 1994

Language: English
Pages: 228

Cover
Illustrating C (Ansi/Iso Version)
Copyright
9780521468213
Acknowledgements
Contents
Preface
1 Introduction
CONCEPTION
REALIZATION
DISSECTION
EXERCISES
2 Concepts
DECISIONS
IF - ELSE
LOOPS
CHARACTERS
ARRAYS
MATRIX MULTIPLICATION
HOOKE'S LAW
FUNCTIONS
CALL BY VALUE
RATE OF INTEREST
SCOPE OF VARIABLES
RECURSION
EXERCISES
3 Components
NOTATION
CHARACTERS
NAMES
SCALAR TYPES
ON YOUR MACHINE...
CONSTANTS
LITERAL CONSTANTS
STRING LITERALS
NAMED CONSTANTS
ENUMERATIONS
EXPRESSIONS
STATEMENTS AND PROGRAM
DECLARATIONS
DECLARATION VS DEFINITION
FUNCTION DEFINITION
PROTOTYPES
OLD-STYLE C
HEADER FILES
OPERATORS
ARITHMETIC OPERATORS
LOGICAL OPERATORS
BITWISE OPERATORS
ASSIGNMENT OPERATORS
INCREMENTING OPERATORS
SEQUENCE OPERATOR
REFERENCE OPERATORS
OTHER OPERATORS
SUMMARY
PRECEDENCE & ASSOCIATIVITY
MIXED TYPES
PROMOTION & DEMOTION
CAST
PARAMETERS
LITERAL CONSTANTS
ACTION OF OPERATORS
4 Control
TESTED LOOPS
COUNTED LOOP
ESCAPE
AREA OF A POLYGON
SELECTION STATEMENT - IF
ROMAN NUMBERS
SWITCH
JUMP
CABLES
QUICKSORT
EXERCISES
5 Organization
PROCESSING
PREPROCESSOR
SIMPLE MACROS
MACROS WITH ARGUMENTS
NESTED MACROS
STRING ARGUMENTS
HEADER FILES
FUNCTION PROTOTYPES
CONDITIONAL PREPROCESSING
SYNTAX SUMMARY
STORAGE CLASS
OUTSIDE DECLARATIONS
BLOCK DECLARATIONS
PARAMETER DECLARATIONS
NAME SPACE
6 Pointers, Arrays, Strings
POINTERS
* OPERATOR
& OPERATOR
DECLARING POINTERS
PARAMETERS
QUICKSORT AGAIN
POINTER ARITHMETIC
PARLOUR TRICK
POINTERS TO FUNCTIONS
COMPLEX DECLARATIONS
STRINGS
STRING ARRAYS
STRING POINTERS
PRINTING STRINGS
RAGGED ARRAYS
COMMAND LINE
STRING UTILITIES
READ FROM KEYBOARD
WHAT KIND OF CHARACTER?
HOW LONG IS A STRING?
COPYING STRINGS
COMPARING STRINGS
BACKSLANG
EXERCISES
7 Input, Output
ONE CHARACTER
GET
PUT
UNGET
PRINT FORMAT
SCAN FORMAT
EASIER INPUT
STREAMS AND FILES
OPENING
CLOSING
REWINDING
REMOVING
RENAMING
ERRORS
CATS
TEMPORARY FILES
BINARY I/O
RANDOM ACCESS
DATABASE
EXERCISES
8 Structures, Unions
INTRODUCING STRUCTURES
USAGE OF STRUCTURES
ACCESS OPERATORS
STYLE OF DECLARATION
BOOKLIST
UNIONS
BIT FIELDS
SYNTAX
TYPE OR SHAPE
ALIAS
DECLARATORS
TYPE-NAME
DECLARATION
STACKS
REVERSE POLISH NOTATION
POLISH
EXERCISES
9 Dynamics Storage
MEMORY ALLOCATION
STACKS
POLISH AGAIN
SIMPLE CHAINING
SHORTEST ROUTE
INTRODUCING RINGS
ROSES
BINARY TREES
MONKEY PUZZLE
EXERCISES
10 Library
INPUT, OUTPUT, FILES
LOW LEVEL I/O
SINGLE CHARACTER I/O
FILE MANAGEMENT
RANDOM ACCESS
STRING I/O
FORMATS FOR I/O
TEMPORARY FILES
BUFFERING
PROCESS CONTROL
TERMINATION
LOCALE
ERROR RECOVERY
SIGNALS, EXCEPTIONS
VARIABLE ARGUMENT LIST
MEMORY ALLOCATION
STRING TO NUMBER
MATHEMATICS
ARITHMETICAL
TRIGONOMETRICAL
HYPERBOLICS
RANDOM NUMBERS
MODULAR DIVISION
LOGARITHMS, EXPONENTIALS
CHARACTERS
STRINGS
STRING LENGTH
COPY & CONCATENATE
STRING COMPARISON
STRING SEARCH
MISCELLANEOUS STRINGS
SORT, SEARCH
DATE AND TIME
11 Summaries
OPERATOR SUMMARY
SYNTAX SUMMARY
LIBRARY SUMMARY
Bibliography
Index