Contents at A Glance

TABLE OF CONTENTS
Introduction
1
Part I
Welcome to C
3
1
What C Is All About
4
C Is Fundamental
6
The History of C
6
How C Differs
7
The C Programming Process
9
Proper Program Design
10
The Compile Process
11
Running a Program
12
Handling Errors
14
2
Analyzing C Programs
16
Studying a Program
18
The Format of a C Program
19
Readability Is the Key
20
Uppercase Versus Lowercase
21
Braces and mainx()
22
C Comments
23
Comments Are for You
24
The New Comment: //
26
Studying the Sample Program
27
3
Variables and Constants
32
C Variables
34
Naming Variables
34
Variable Types
35
Declaring Variables
35
Understanding Data Types
37
Assigning Values to Variables
40
Literal Constants
42
Integer Constants
42
String Constants
44
Character Constants
48
4
Introduction to Arrays
52
Introducing Arrays
54
Character Arrays Versus Strings
57

 



C by Example
C by Example
ISBN: 0789722399
EAN: 2147483647
Year: 1999
Pages: 43
Authors: Greg Perry

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net