
C By Discovery, 4th edition
Published by Pearson (August 15, 2004) © 2005
- W D. Foster California State University San Marcos
- L S. Foster California State University Long Beach
Price Reduced From: $206.65
Details
- A print text
Chap. 1Â Â Getting Started
1.1 What to Expect from CÂ
1.2 Fundamentals-Reserved Words, Identifiers, the Character SetÂ
1.3 Subprograms or Functions in CÂ
1.4 An Introduction to Output in C
1.5 Input and Output with Variables
1.6 Arithmetic OperationsÂ
1.7 Introduction to Functions and Structured Programming in CÂ
Language Elements Introduced in This Chapter: A ReviewÂ
Things to RememberÂ
Exercises and Programming Problems
2.1 Expressions and StatementsÂ
2.2 Blocks and Compound Statements
2.3 The if and if-else Statements
2.4 Relational Operators and Expressions
2.5 The while LoopÂ
2.6 Logical Operators and Expressions
2.7 The for Loop
2.8 Making C Readable-Programming Style
Language Elements Introduced in This Chapter: A Review
Things to Remember
Exercises and Programming Problems
Chap. 3Â Â Basic Data Types
3.1 Introduction to Scalar Types in C
3.2 Integers and Different Integer BasesÂ
3.3 The Integer TypesÂ
3.4 The size of() Operator
3.5 Character VariablesÂ
3.6 Unsigned Types Â
3.7 ANSI C and Integer TypesÂ
3.8 If There's Time or Need: Bit Operations on the Integer TypesÂ
3.9 Floating Point Types
3.10 Types of Expressions and Automatic ConversionsÂ
3.11 Forced Type Conversions
Language Elements Introduced in This Chapter: A Review
Things to Remember
Exercises and Programming ProblemsÂ
Chap. 4Â Arrays and Pointers
4.1 One Dimensional Arrays Â
4.2 Initialization of Arrays
4.3 Arrays as Parameters to Functions
4.4 Getting Started with Pointers Â
4.5 Pointer Arithmetic Â
4.6 Dereferencing a Pointer Variable
4.7 An Array as a Pointer
4.8 Passing Parameters to FunctionsÂ
4.9 Searching and Sorting Arrays
4.10 Pointers and Dynamic Memory AllocationÂ
Language Elements Introduced in This Chapter: A Review
Things to Remember
Exercises and Programming ProblemsÂ
Chap. 5Â Â Strings
5.1 Introduction to Strings Â
5.2 Variable StringsÂ
5.3 Input and Output of StringsÂ
5.4 The Common String Library FunctionsÂ
5.5 Examples with strlen() and strchr()Â
5.6 More Functions in the C String Library
5.6 Two Versions of strcat()Â
Language Elements Introduced in This Chapter: A Review
Things to Remember
Exercises and Programming Problems Â
Chap. 6Â Â Keeping Control
6.1 IntroductionÂ
6.2 The do-while StatementÂ
6.3 The switch Statement
6.4 Altering the Flow of ControlÂ
6.5 Getting Out Gracefully
6.6 If There's Time or Need: Using Recursion
Language Elements Introduced in This Chapter: A Review
Things to Remember
Exercises and Programming Problems
Chap. 7Â Â Structuring the Data
7.1 Introduction to Structures
7.2 Operations on Structures
7.3 Using Structures with Arrays and Pointers
7.4 Bit Fields
7.5 Enumerated Types
7.6 Unions
Language Elements Introduced in This Chapter: A Review
Things to Remember
Exercises and Programming Problems
Chap. 8Â Â Intra-program Communication
8.1 Introduction
8.2 Automatic versus Static Variables
8.3 Global versus Local Variables
8.4 Modules and External Variables
8.5 Typedefs
8.6 Function Definitions
8.7 Function Declarations and Calls
8.8 Pointers to Functions
Language Elements Introduced in This Chapter: A Review
Things to Remember
Exercises and Programming Problems
Chap. 9Â Â Multidimensional Arrays and Double Indirection
9.1 Two-Dimensional Arrays
9.2 Storage Class and Scope of Multidimensional Arrays
9.3 Multidimensional Arrays as Parameters to Functions
9.4 Arrays with More Than Two Dimensions
9.5 Arrays of Pointers
9.6 Double Indirection
9.7 Command Line Parameters
Language Elements Introduced in This Chapter: A Review
Exercises and Programming Problems
Chap. 10Â Â Input and Output
10.1 Review of Input and Output
10.2 An Introduction to Files in C
10.3 Character Input and Output
10.4 String Input and Output
10.5 Reading Blocks of Data at a Time
10.6 Formatted Input and Output
10.7 Random versus Sequential Access in FilesÂ
Language Elements Introduced in This Chapter: A Review
Things to Remember
Exercises and Programming ProblemsÂ
Chap. 11Â Â C Library and Preprocessor Facilities
11.1 Introduction to the C LibraryÂ
11.2 Error Handling with the ANSI C Library
11.3 Using Mathematical Functions
11.4 Character ManipulationÂ
11.5 Dynamic Allocation and De-allocation of Memory
11.6 A Linked List-The Theory and an ExampleÂ
11.7 Defining Macros
11.8 Conditional CompilationÂ
Language Elements Introduced in This Chapter: A Review
Things to Remember
Exercises and Programming ProblemsÂ
Chap. 12Â Â Discovering C++
12.1 IntroductionÂ
12.2 Some Added Features
12.3 C++ and OOP - Data Abstraction and EncapsulationÂ
12.4 C++ and OOP - PolymorphismÂ
12.5 C++ and OOP - InheritanceÂ
12.6 More about I/O
12.7 LibrariesÂ
C++ Language Elements Introduced in This Chapter: A Review
Things to Remember
Exercises and Programming ProblemsÂ
Part IIÂ Â Â The Programmer's Handbook
AÂ Â Identifiers in ANSI C
BÂ Â Keywords in C
CÂ Â Declarations in C
Storage Class Specifiers C-1
Type Qualifiers C-1
Type Specifications . C-2
Initializers C-2
Reading C Declarations . C-3
D Operators and Expressions
 Operator Prescendence Chart
EÂ Control Statements in C
FÂ The Ansi C Library
Need help? Get in touch