Scott/Jones Scott/Jones Scott/Jones Scott/Jones Scott/Jones Scott/Jones Scott/Jones Scott/Jones

Home | Textbook Catalog | Order Book | Syllabi

C THROUGH OBJECTS

 

Save 12% over most
bookstore prices by ordering
directly from Scott/Jones!

 

C THROUGH OBJECTS
by John Connely

 

Connely presents C using the "object" concept, thus laying the groundwork for future classes that cover C++, and/or object-oriented programming. Traditional programming textbook organization is subordinated to presenting "objects" as a unifying concept.

  • Each chapter concludes with "Extensions and Enrichment using C++", which presents some of the same elements of that chapter through the persective of C++ as a "better C".
  • Frequent sections on "Planning Your Program" are included throughout the text.
  • "Warning", "Good Advice" and "Common Error" discussions are included as the need arises, throughout the text.
TABLE OF CONTENTS

1. Introduction

2. Starting out with Main ()
2.1 Solving problems with Objects
2.2 A first look at main(), Assignment, and I/O
2.3 Inserting Comments
2.4 Format Styles
2.5 Debugging& Common Errors
Extensions and Enrichment with C++; a simple program with counters

3. Simple User Functions
3.1 Names
3.2 User Functions and prototypes
3.3 Planning your program
3.4 Debugging Skills& Common Errors
Extensions and Enrichment with C++: The object CIN (see-out)

4. Variables Data Types and Arithmetic Expressions
4.1 Defining Data Objects
4.2 Assignment Statements
4.3 Output Functions
4.4 Input Functions
4.5 Arithmetic Expressions
4.6 Assignment Operators
4.7 Technical Aside: too large, too small, or too precise.
4.8 Planning your program
4.9 Debugging Skills& Common Errors
Extensions and Enrichment with C++: Casts; I/O Formatting

5. Controlling External Data and Giving Directions
5.1 Input and Output redirection
5.2 The Relational Operators
5.3 Iteration
5.4 Iteration and Input
5.5 Decisions
5.6 Jumps
5.7 ANSI C Records: the struct
5.8 Planning your program
5.9 Debugging Skills& Common Errors
Extensions and Enrichment with C++: Classes, Class members, Objects

6. Passing Arguments and Returning Data Objects
6.1 Value Parameters and Static Local Variables
6.2 Functions returning Values
6.3 One Dimensional arrays
6.4 A Bubble Sort
6.5 One Dimensional Arrays of Structs
6.6 Two Dimensional Arrays
6.7 Creating an Alias: Typedef
6.8 Planning your program
6.9 Debugging Skills&Common Errors
Extensions and Enrichment with C++: Constructors and Multiple Class Objects

7. Communication Among Internal Objects
7.1 Communication with main()
7.2 The FILE variable with "r"
7.3 Communication using Addresses
7.4 One Dimensional Arrays and Pointers
7.5 Technical Aside: String Functions, Pointers and string .h
7.6 Communication by means of the stack: recursion
7.7 Debugging Skills Common Errors
Extensions and Enrichment with C++: Reading Text Files with fstream

8. Communication Among External Objects
8.1 The FILE variable and ìwî
8.2 Changing to Multiple Source Files
8.3 Communication and Data security among multiple files in ANSI C.
8.4 Libraries and Archives
8.5 Technical Aside: Makefiles
8.6 Debugging Skills& Common Errors
Extensions and Enrichment with C++: communication and data security;

9. Further Communication Among External Objects
9.1 An Overview of ANSI C I/O Commands
9.2 Connecting a program and a file
9.3 I/O commands and ASCII text files
9.4 Binary Files: Sequential and Random Access
9.5 Debugging Skills & Common Errors
Extensions and Enrichment with C++: Binary I/O with istream and ostream

10. Dynamic Memory and Pointers
10.1 Dynamic memory
10.2 An Aside on Memory Management
10.3 Review: addresses and pointers
10.4 Dynamic memory: calloc(), malloc() and free()
10.5. Dynamic memory and Arrays
10.6 Dynamic memory and Linked Lists
10.7 Debugging Skills & Common Errors
Extensions and Enrichment with C++: dynamic memory, linked lists

11. Additional Topics in Advanced C
11.1 Enumerated Data Types
11.2 Unions
11.3 Bit Operators
11.4 More on the ANSI C Library
11.5 Multi-dimensional Arrays and Pointers
11.6 Advanced Pointer Topics

12. A First Look at Some New Ideas in C++
12.1 Inline functions
12.2 Default Arguments

540 pages
ISBN 1-881991-49-0

Home | Textbook Catalog | Order Book | Syllabi


Scott/Jones Inc., El Granada CA
Website maintenance & updating by
Jane Scott/Jones
Updated
January 16, 2004