Customer Service or Enrol: 0800 282 353 or +44 1372 364610
 

Hands-On C Programming

Course: 338   Type: Hands-On   Duration: 4 Days
Quick Enrol  

You Will Learn How To

  • Write, compile and execute Standard C programs
  • Make full use of C's powerful structured-programming features
  • Read and write complex data-structure descriptions
  • Access operating system services
  • Develop programs using Standard C library functions

Course Benefits
C is the language for the development of efficient, portable software. Throughout this course, under the guidance of an expert instructor, you use Standard C software development systems for extensive hands-on exercises in writing and executing programs in the C language.

Who Should Attend
Software engineers and application and system programmers working with the C language. Participants should have professional programming experience in either high-level or assembly languages.

Hands-on Training
Throughout this course, hands-on exercises provide extensive skills in C programming, including:
  • Defining and calling functions
  • Using arrays, pointers and structures
  • Allocating memory dynamically
  • Performing loops, decisions and computations
  • Reading input and writing output

Course Content
Introduction and Overview
Key features of C
  • Operating system portability
  • Highly efficient object code
  • Support of structured programming
  • Separate compilation of modules
  • Standard function libraries
  • Ease of access to hardware features
Applications of the C language
  • Database applications
  • User interfaces
  • Networking applications
  • Graphics
  • Operating systems
  • Business applications
  • Engineering and real-time applications
Fundamentals of C Programs
Writing a simple C program
  • Learning the form of a C program
  • Declaring variables
  • Designing program flow and control
  • Defining and using functions
  • Using standard terminal I/O functions
Fundamental types and storage classes
  • Character types
  • Integer, short, long, unsigned
  • Single- and double-precision floating point
  • Storage classes: automatic, register, static and external
Operators and expressions
  • Using numeric and relational operators
  • Mixed operands and type conversion
  • Logical operators
  • Bit operations
  • Operator precedence and associativity
Conditional program execution
  • Applying if and switch statements
  • Nesting if and else
  • Restrictions on switch values
  • Use of break and default with switch
Program loops and iteration
  • Uses of while, do and for loops
  • Multiple loop variables
  • Assignment operators
  • Using break and continue
Arrays, Structures and Pointers
Arrays
  • Array notation and representation
  • Manipulating array elements
  • Using multidimensional arrays
  • Arrays of unknown or varying size
Structures
  • Purpose and usage of structures
  • Declaring structures
  • Assigning of structures
Pointers to objects
  • Graph structures and pointers
  • Pointer and address arithmetic
  • Pointer operations and declarations
  • Using pointers as function arguments
  • Dynamic memory allocation
  • Defining and using linked lists
Unions
  • Components in overlapping memory
  • Declaring and using unions
C Program Organisation
Modular programming
  • Passing arguments by value
  • Scope rules and global variables
  • Separate compilation and linkage
  • Building your own modules
Packaging of data structures
  • Keeping data structures in separate files
  • Public .h vs. private .c files
  • Hiding private variables and functions
Hardware and Operating Systems
Controlling devices
  • Bit access and masking
  • Pointing to hardware structures
Operating system interaction
  • Reading command line arguments
  • Creating and accessing files
Standard C Preprocessor and Library
The Standard C preprocessor
  • Defining and calling macros
  • Utilising conditional compilation
  • Passing values to the compiler
The Standard C library
  • Input/output: fopen, fread, ...
  • String handling: strcpy, ...
  • Math functions: log, sin, ...
  • Internationalisation (locales)
  • Other Standard C functions

Related Courses
 

request more info Salutation*:

First Name*:

Last Name*:

Job Title:

Company*:

Post Code*:

Country*:
   Codes
Office Telephone*:

Extension:

E-mail*:

* Required

A Learning Tree representative will contact you to follow up your request for information.

Save 55%
C Programming
28 - 31 Oct, 2008
London
17 - 20 Feb, 2009
London

Course participants compiling C programs.

£ 1,695 - Standard Tuition
Savings Plans
£ 1,080 - 10-Day Training Pass
£ 995 - Flex-Training Passport
£ 1,215 - 10-Training Vouchers
£ 1,300 - 5-Training Vouchers
£ 1,525 - Alumni Gold Tuition

 
Customer Service or Enrol: 0800 282 353 or +44 1372 364610