C Programming: Visual QuickStart Guide

by ;
Format: Paperback
Pub. Date: 2005-01-01
Publisher(s): Peachpit Press
List Price: $29.16

Rent Book

Select for Price
There was a problem. Please try again later.

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

eBook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

Task-based volume from best-selling author tackles the granddaddy of programming languages-C.

Author Biography

Larry Ullman is the Director of Digital Media Technology at DMC Insights, Inc., a firm specializing in information technology and is also an Extension Instructor for the University of California at Berkeley.

Table of Contents

Introduction ix
Why Use C? x
How C Works xi
What You'll Need xii
About This Book xiii
Getting Help xv
Getting Started with C
1(18)
Basic Syntax
2(3)
Printing Text
5(2)
Compiling and Running C
7(5)
Keeping Your Application Open
12(2)
Adding Comments to Your Source Code
14(3)
Understanding White Space
17(2)
Introduction to Data Types
19(16)
Proper Variable Syntax
20(4)
Assigning Values to Variables
24(1)
Printing Variables
25(3)
Introduction to Characters
28(2)
Using Character Strings
30(2)
Introduction to Constants
32(3)
Working with Numbers
35(22)
Selecting a Number Type
36(3)
Performing Arithmetic
39(5)
Increment and Decrement Operators
44(3)
Understanding Precedence
47(3)
Understanding Overflow and Underflow
50(4)
Variable Conversion
54(3)
Control Structures
57(24)
If Statements
58(3)
Comparison and Logical Operators
61(4)
Using Else and Else If
65(3)
The Ternary Operator
68(3)
The Switch Conditional
71(3)
The While Loop
74(4)
The For Loop
78(3)
Standard Input and Output
81(26)
Inputting a Single Character
82(5)
Retrieving Whole Word Input
87(4)
Reading Numeric Input
91(4)
Reading Multiple Inputs
95(5)
Validating Keyboard Input
100(4)
Advanced printf() Usage
104(3)
Working with Arrays
107(26)
Introduction to Arrays
108(2)
Assigning Values to Arrays
110(5)
Accessing Array Values
115(3)
Defining Arrays Using Constants
118(2)
Looping through Arrays
120(3)
Using Character Arrays
123(5)
Using Multidimensional Arrays
128(5)
Creating Your Own Functions
133(28)
Creating Simple Functions
134(4)
Creating Functions That Take Arguments
138(5)
Creating Functions That Return a Value
143(6)
Creating Inline Functions
149(3)
Using Recursion
152(4)
Understanding Variable Scope
156(5)
Using the C Preprocessor
161(30)
Introduction to the C Preprocessor
162(7)
Using Constants
169(3)
Function-like Macros
172(3)
Function-like Macros That Take Arguments
175(5)
Creating and Including Header Files
180(4)
Including Header Files
184(3)
Creating Conditionals
187(4)
Working with Pointers
191(32)
Understanding Program Memory
192(2)
The Address-of Operator
194(4)
Storing and Retrieving Addresses in Pointer Variables
198(4)
Another Look at Pointer Variables
202(2)
Dereferencing Pointer Variables
204(4)
Passing Addresses to Functions
208(4)
Arrays, Pointers, and Pointer Arithmetic
212(5)
Arrays of Pointers
217(6)
Managing Memory
223(32)
Static and Dynamic Memory
224(5)
Type Casts
229(4)
Allocating Arrays of Dynamic Size
233(4)
Resizing a Block of Memory
237(9)
Returning Memory from a Function
246(6)
Avoiding Memory Leaks
252(3)
Working with Strings
255(32)
Basic String Pointer Syntax
256(5)
Finding the Length of a String
261(4)
Connecting Strings (Concatenation)
265(4)
Comparing Strings
269(6)
Copying Strings
275(5)
Sorting Strings
280(7)
File Input and Output
287(34)
Opening and Closing Files
288(6)
Writing to Files
294(7)
Reading from Files
301(4)
Parsing File Input
305(2)
Writing to Binary Files
307(6)
Reading from Binary Files
313(3)
Moving Around Within Binary Files
316(5)
Advanced Data Types
321(32)
Introduction to Structures
322(7)
Using typedef
329(5)
Using Arrays of Structures
334(6)
Introduction to Linked Lists
340(13)
Appendix A: Installing and Using C Tools
353(12)
Dev-C++ for Windows
354(5)
Xcode on Mac OS X
359(2)
Unix Tools
361(1)
Debugging with GDB
362(2)
Other Tools
364(1)
Appendix B: Resources
365(6)
Web Sites
366(2)
Tables
368(3)
Index 371

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.