C For Fortran Programmers
by T. D. Brown, Jr.
ISBN 0-929306-01-5 1990 220 pages, Paperback $34.95 (US Dollars)
Summary
Contents
Table of Contents:
- Introduction
- General Comments about C
- A Quick Tour of the C Language
- Final Comments
- Exercises
- FORTRAN Facilities Present in C & Vice Versa
- General Comments about C
- Basics of C
- Fundamental Types
- Derived Types
- Operators & Expressions
- Variable Initialization
- Statements
- Functions
- Input/Output
- Commonly Used Input/Output Functions
- Error Trapping
- Program Termination
- Exercises
- C Facilities Not in FORTRAN
- C Preprocessor
- Types
- Operators
- Statements
- Functions
- Storage Classes
- Signal Handling
- Exercises
- Functions
- Function Definitions
- Function Prototypes (Declarations)
- Function Calls
- Argument Passing
- Function Result & Completion
- Recursion
- Static Variables
- Communication Between Functions
- Function Names as Arguments
- Variable Number of Arguments
- Independent Compilation
- Interrupt (Signal) Handling
- Program Termination
- Accessing Operating System Facilities
- Calling Routines Written in Other Languages
- Examples
- Exercises
- Pointers
- Void Pointers
- Allocating & Deallocating Storage
- Pointer Arithmetic
- Lists: An Example of Pointer Use
- Pointers & Arrays
- Dynamic Arrays
- Examples
- Exercises
- C Preprocessor
- Macro Definitions
- Sets: An Example of Parameterized Macros
- File Inclusion
- Conditional Compilation
- Avoiding Multiple File Inclusions
- Exercises
- Large Examples
- Temperature Distribution
- The Bank Teller Program
- The Text Formatter
- FORTRAN Facilities Not in C
- Appendix: C Library Functions
- Character Processing
- Math
- Non-Local Jumps
- Signal Handling
- Variable Arguments
- Input/Output
- General Utility
- String Processing
- Bibliography
- Index
|