Management Sales Technology training courses, Dublin Belfast Cork Ireland, Beckinridge
Management Sales Technology training courses, Dublin Belfast Cork Ireland, Beckinridge

C Programming

Course Code: GN-312  Duration: 4 Days

This course teaches the C programming language which is still widely used despite competition from its newer offspring. It can also include system programming for Windows or Linux if required.

Course Content

Getting Started

  • Writing, building and running a C Program.
  • Language structure.
  • The main function.
  • Basic console input/output.
  • Declaring and Initializing variables.
  • Fundamental data types.
  • Literal strings.

Control Flow

  • Control flow, loops and conditions.
  • The for loop.
  • Do and while.
  • Break and continue.
  • If and else.
  • The conditional expression.

Operators

  • The basic operators.
  • Shortcuts.
  • Increment and decrement, prefix and postfix.
  • Logical and bitwise operators.
  • Precedence and parentheses.

Functions

  • Functions and argument passing.
  • Predeclarations and prototypes.
  • Using multiple source files.
  • Using header files.
  • The switch statement.
  • Variable scope - local, static, global.
  • Variable lifetimes.
  • Casting.

Arrays

  • Defining and using arrays.
  • Array safety.
  • Multi-dimension arrays.

Memory management and Pointers

  • Introducing memory management.
  • Using pointers.
  • Pointer manipulation and arithmetic.
  • Arrays and pointers.
  • Arrays and pointers as function arguments.
  • Function pointers.

Strings

  • Strings and characters in C.
  • Strings as arrays and pointers.
  • Standard string functions.
  • Writing string functions.

Structures and Unions

  • Data structures.
  • Passing structs by value and pointer.
  • Dynamic structs.
  • Variable length structs.
  • Unions.
  • Nesting and complex structures.
  • Typedef.

Input and Output

  • Console input and output.
  • Formatting.
  • Dealing with errors.
  • File and device I/O.

The Preprocessor

  • How the preprocessor works.
  • #define and constants.
  • Conditional compilation.
  • Macros.
  • Passing arguments to macros.

« Back to last page

Why Choose Us?

ILM Qualifications

Beck-Bites

Team Building

 

© web design by redrhino