C Programming
-
Use the syntax, semantics, and scoping of ANSI C
Write ANSI C programs using many features of the language
Use some of the ANSI C libraries
Describe the C compilation process
Write programs using dynamic data structures and recursion
Recognize the advantages of multi-file programs
-
An Introduction to C
-
An Example
The Compilation Process
White Space and Comments
Functions
Constant Strings
Libraries
printf()
Simple Statements
Compound Statements
Fundamental Types
Defining Variables
Identifiers
Operators
-
Operators vs. Expressions
-
Data Types
-
Numeric and Character Types
Sizes of Data Types
Constant and Volatile Objects
-
Integer Constants
Floating-point Constants
Character Constants
-
What is a Function?
Function Prototypes
The exit function
Function Parameters
Call By Value
Return Values
The void Type
Writing Functions in Pre-ANSI C
-
Declaring Variables
Scope
-
Internal Variables
Parameters to Functions
External Variables
Masking
Scope of Functions
-
Extent of Externals
Automatic Variables
Internal Static Variables
Internal Static Variables – Example
-
What is Recursion?
Why Recursion? (What does it all mean?)
Example
-
Truth Values
-
Precedence
Associativity
Table of Operators
-
Compile-Time vs. Run-Time Precedence
-
Boolean Operators
-
Order of Evaluation
-
The Simple Assignment Operator
Compound Assignment Operators
Use of Assignment in Expressions
-
The do-while Loop
The Null Statement
-
A Caution About do...while()
-
Pointer Concepts
Defining Pointers
Pointer Operators
Pointers As Function Parameters
Pointers As Return Values
-
Defining Arrays
Using Arrays
Initializing Arrays
Multidimensional Arrays
Strings
-
Processing Strings
-
Pointer Arithmetic
Incrementing And Decrementing Pointers
String Handling
Pointers To Functions
-
Pointers to Functions – Example
-
Declaration Procedure
The Right Left Rule
-
Structure Declaration
-
Name Spaces
-
Data Abstraction – typedef
Towards Complexity – One Step at a Time
Typedef and Structures
-
Self Referential Structures
Linked Lists
Dynamic Memory Allocation
-
Issues in Multi File Programs
Variables — extern and static
-
Introduction
Bit Twiddling Operations
-
Setting and Unsetting Bits
Bit Shifting
-
Enumerated Data Types
Bit Fields
Unions
-
Introduction
#define
#ifdef and #ifndef
#if
-
The Concept of a FILE
Character Handling Routines
Line and Record Handling Routines
Formatting Routines
Positioning Routines
The ANSI Libraries
-
Invoking Programs
Parameters to main()
Processing argc and argv
-
Introduction
Programming vs. Program Design
-
Suggestions Related To Overall Design
-
Comments
Coding For Readability
Indentation
Brackets
Well-Chosen Identifier Names
Syntactical Forms To Be Avoided
Notice: Undefined index: HTTP_REFERER in /var/www/datadeliverance/inc/trademarks.inc on line 3
Notice: Undefined index: HTTP_REFERER in /var/www/datadeliverance/inc/trademarks.inc on line 4
Notice: Undefined variable: REMOTE_USER in /var/www/datadeliverance/inc/trademarks.inc on line 7
Notice: Undefined index: HTTP_REFERER in /var/www/datadeliverance/inc/trademarks.inc on line 7
Notice: Undefined index: printer in /var/www/datadeliverance/inc/trademarks.inc on line 11