Getting started | p. 7 |
Introducing the C language | p. 8 |
Installing a C complier | p. 10 |
Writing a C program | p. 12 |
Compiling a C program | p. 14 |
Understanding compilation | p. 16 |
Summary | p. 18 |
Storing variable values | p. 19 |
Creating program variables | p. 20 |
Displaying variable values | p. 22 |
Inputting variable values | p. 24 |
Qualifying data types | p. 26 |
Using global variables | p. 28 |
Registering variables | p. 30 |
Converting data types | p. 32 |
Creating array variables | p. 34 |
Describing multiple dimensions | p. 36 |
Summary | p. 38 |
Setting constant values | p. 39 |
Declaring program constants | p. 40 |
Enumerating constant values | p. 42 |
Creating a constant type | p. 44 |
Defining constants | p. 46 |
Debugging definitions | p. 48 |
Summary | p. 50 |
Performing operations | p. 51 |
Doing arithmetic | p. 52 |
Assigning values | p. 54 |
Comparing values | p. 56 |
Assessing logic | p. 58 |
Examining conditions | p. 60 |
Measuring size | p. 62 |
Comparing bit values | p. 64 |
Flagging bits | p. 66 |
Understanding precedence | p. 68 |
Summary | p. 70 |
Making statements | p. 71 |
Testing expressions | p. 72 |
Branching switches | p. 74 |
Looping for a number | p. 76 |
Looping while true | p. 78 |
Breaking out of loops | p. 80 |
Going to labels | p. 82 |
Summary | p. 84 |
Employing functions | p. 85 |
Declaring functions | p. 86 |
Supplying arguments | p. 88 |
Calling recursively | p. 90 |
Placing functions in headers | p. 92 |
Restricting accessibility | p. 94 |
Summary | p. 96 |
Pointing to data | p. 97 |
Accessing data via pointers | p. 98 |
Doing pointer arithmetic | p. 100 |
Passing pointers to functions | p. 102 |
Creating arrays of pointers | p. 104 |
Pointing to functions | p. 106 |
Summary | p. 108 |
Manipulating strings | p. 109 |
Reading strings | p. 110 |
Copying strings | p. 112 |
Joining strings | p. 114 |
Finding substrings | p. 116 |
Validating strings | p. 118 |
Converting strings | p. 120 |
Summary | p. 122 |
Building structures | p. 123 |
Grouping in a structure | p. 124 |
Defining type structures | p. 126 |
Using pointers in structures | p. 128 |
Pointing to structures | p. 130 |
Passing structures to functions | p. 132 |
Grouping in a union | p. 134 |
Allocating memory | p. 136 |
Summary | p. 138 |
Producing results | p. 139 |
Creating a file | p. 140 |
Reading & writing characters | p. 142 |
Reading & writing lines | p. 144 |
Reading & writing entire files | p. 146 |
Scanning filestreams | p. 148 |
Reporting errors | p. 150 |
Getting the date and time | p. 152 |
Running a timer | p. 154 |
Generating random numbers | p. 156 |
Displaying a dialog box | p. 158 |
Summary | p. 160 |
Reference section | p. 161 |
ASCII character codes | p. 162 |
Input & output functions | p. 164 |
Character test functions | p. 173 |
String functions | p. 174 |
Math functions | p. 176 |
Utility functions | p. 178 |
Diagnostic functions | p. 180 |
Argument functions | p. 180 |
Date & time functions | p. 181 |
Jump functions | p. 184 |
Signal functions | p. 184 |
Limit constants | p. 185 |
Float constants | p. 186 |
Index | p. 187 |
Table of Contents provided by Ingram. All Rights Reserved. |
The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.