Thursday, June 26, 2008

Introduction To C Programming

C programming
Prerequisite
Good user level knowledge of computers.
An Overview of C
A Simple C Program, compiling and executing a C program
Expressions
Data types, Variables, Identifiers, Storage Class Specifier, Access Modifier, Initializations, Operators, Expression and Order of Evaluation. Type conversion. Bitwise operator.
Statements
Selection Statements (if, nested if, if else ladder, Switch, nested switch.
Iteration statements (for, while, do-while loops, Infinite loop, Empty loops)
Jump Statements (Return, goto, break, exit, continue)
Arrays and Strings
Single, double and multi dimensional arrays. Null terminated strings.
Pointers
Pointers and arrays, Pointer to function, Dynamic memory allocation.
Functions
Function arguments, Pass by value and pass by reference, Returning values, Command line arguments. Recursion.
User defined data types
Structures, Unions, Enumerations and typedef.
Input Output
Console I/O, Reading and writing Strings.
File Handling
Reading and writing operations. Error handling.
Preprocessors
#define, #ifdef, #if defined(), #error, #undef, #line, #include. Macro
Data structures
Linked list, Basic trees
Sorting and searching
Basic sorting algorithms, Merge sort, Quick sort.
GUI application development
Introduction to WIN 32 programming.
C on linux
An overview.

No comments: