Programmer ▪ Analyst ▪ Designer ▪ Administrator ▪ QA ISO 9001 : 2008 Certified Institute

C Course Content

  1. Overview

    C is a general-purpose, high-level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell Labs. C was originally first implemented on the DEC PDP-11 computer in 1972. In 1978, Brian Kernighan and Dennis Ritchie produced the first publicly available description of C, now known as the K&R standard. The UNIX operating system, the C compiler, and essentially all UNIX application programs have been written in C.

  2. C Course Outline

    Getting Started
    1. What is C?
    2. Background
    3. Sample Program
    4. Components of a C Program
    5. Examples
    6. Data Types
    7. Variables
    8. Naming Conventions for C Variables
    9. Printing and Initializing Variables
    10. Array Examples
    11. Compiling and Executing a C Program

    Functions and Operators
    12. Examples of C Functions
    13. Functions
    14. sum Invoked from main
    15. Invoking Functions
    16. Elementary Operators
    17. The operator= Operators
    18. Operators
    19. The Conditional Operator
    20. Increment and Decrement Examples
    21. Increment and Decrement Operators

    Control Flow Constructs
    22. Examples of Expressions
    23. if
    24. if else
    25. while
    26. for
    27. Endless Loops
    28. do while
    29. break and continue
    30. switch
    31. else if

    The C Preprocessor
    32. #define
    33. Macros
    34. #include
    35. Conditional Compilation
    36. #ifdef
    37. #ifndef

    Simple I/O
    38. Character I/O
    39. End of File
    40. Simple I/O Examples
    41. Simple I/O Redirection
    42. I/O with Character Arrays

    More on Functions
    43. General
    44. Function Declarations
    45. Returning a Value or Not
    46. Function Prototypes
    47. Arguments and Parameters
    48. Organization of C Source Files
    49. Extended Example
    50. The getline Function
    51. The strcmp Function
    52. The check Function
    53. The atoi Function
    54. The average Function
    55. Summary

    Bit Manipulation
    56. Defining the Problem Space
    57. A Programming Example
    58. Bit Wise Operators
    59. Bit Manipulation Functions
    60. Circular Shifts

    Strings
    61. Fundamental Concepts
    62. Aggregate Operations
    63. String Functions

    Higher Dimensional Arrays
    64. Array Dimensions
    65. An Array as an Argument to a Function
    66. String Arrays

    Separate Compilation
    67. Compiling Over Several Files
    68. Function Scope
    69. File Scope
    70. Program Scope
    71. Local static
    72. register and extern
    73. Object Files
    74. Libraries
    75. The C Loader
    76. Header Files

    Pointers (Part 1)
    77. Fundamental Concepts
    78. Pointer Operators and Operations
    79. Changing an Argument with a Function Call
    80. Pointer Arithmetic
    81. Array Traversal
    82. String Functions with Pointers
    83. Pointer Difference
    84. Prototypes for String Parameters
    85. Relationship Between an Array and a Pointer
    86. The Pointer Notation *p++

    Pointers (Part 2)
    87. Dynamic Storage Allocation - malloc
    88. Functions Returning a Pointer
    89. Initialization of Pointers
    90. gets - a Function Returning a Pointer
    91. An Array of Character Pointers
    92. Two Dimensional Arrays vs. Array of Pointers
    93. Command Line Arguments
    94. Pointers to Pointers
    95. Practice with Pointers
    96. Function Pointers

    Structures
    97. Fundamental Concepts
    98. Describing a Structure
    99. Creating Structures
    100. Operations on Structures
    101. Functions Returning Structures
    102. Passing Structures to Functions
    103. Pointers to Structures
    104. Array of Structures
    105. Functions Returning a Pointer to a Structure

    Structure Related Items
    106. typedef - New Name for an Existing Type
    107. Bit Fields
    108. unions
    109. Non-Homogeneous Arrays
    110. Enumerations

    I/O
    111. System Calls vs. Library Calls
    112. Opening Disk Files
    113. fopen
    114. I/O Library Functions
    115. Copying a File
    116. Character Input vs. Line Input
    117. scanf
    118. printf
    119. fclose
    120. Servicing Errors - errno.h
    121. feof

    Information About Files
    122. The stat Function
    123. File Existence
    124. Telling Time - time and ctime
    125. Telling Time – localtime

    I/O With Structures
    126. A Database Application
    127. The menu Function
    128. The fwrite Function
    129. The create_db Function
    130. The fread Function
    131. The print_db Function
    132. fseek
    133. The retrieve_db Function
    134. fflush and ftell

    Useful Library Functions
    135. strstr
    136. strchr, strrchr
    137. system
    138. strtok
    139. strspn, strcspn
    140. Math Functions
    141. Character Testing Functions
    142. exit and atexit
    143. signal
    144. memcpy and memset
    145. qsort
    146. Binary Search - bsearch

Navigate to

Advertisment

ad

X

Request a call back