|
|
|
Professional Quality InstructionC Language Programming Outline
Historical Perspectives
History of Language
Design Goals
Simple Facts of C Language
Data Types
Variables in C
Constants
Basic Input and Output
Assignment Operators
Shorthand Assignment Operators
Economy of Expression
Arithmetic Expressions
Operator Precedence
Integer and Floating-Point
Conversions
Increment and Decrement
Operators
Decisionmaking Constructs
if, switch
Looping Constructs
for, while and do..while
Arrays
Declaring, Initializing
and Indexing Array Elements
Functions
C Function Components
Argument Passing Method
Returning Function Results
Merits of Functional Prototypes
Scope
Program, file, block, function
Storage Class Specifiers
static, extern, register,
automatic
Escape Characters
Tab, newline, bell
Structures
Structure vs Arrays
Defining a Structure
Structure Declaration
Initializing a Structure
Enumerated Data Types
Motivation for Use
Defining an Enumerated
Type
Declaring an Enumerated
Type
Typedefs
Motivation
for Use
Typedef and Structures
The C Preprocessor
#include, #ifdef, #ifndef,
#define
File I/O
Open and Closing Files
Reading and Writing Files
The Standard I/O Library
Header Files
Error Handling in Standard
I/O
Introduction to Pointers
Why use a Pointer?
Pointer Declaration
Pointer Initialization
Dereferencing a Pointer
Programming Style
Modular Function Development
Style Issues
Make, SCCS