Consult our trainings :
> Digital Technologies training > Application Development training > Python, C, C++ training > The C Programming Language training
The C Programming Language Training
Hands-on course
Best
- Program
- Participants / Prerequisite
- Intra/Tailored
Program
This intensive training will enable you to acquire operational knowhow of the C language. You will study the mechanisms of the C language and their application through numbers of case studies. At the end of the session you will be able to write robust and portable C programs.
Hands-on work
A Personal Computer with UNIX or Windows is available for each participant to immediately apply the new concepts.
PROGRAM
Introduction to UNIX and C programing
- Introduction to C programing. History, the pre-processor, the compiler, the linker and the loader.
- Tracing tools, debugger, profilers and indexing tools.
- C language structure. The basic syntax. First program using printf (hello world).
- The main function. comments. Reserved keywords.
- The C preprocessor. Including headers. Macros and conditional compilation.
- Macros with variable numbers of arguments.
Basic C components and types
- Basic language components. C types, sizeof, cast. Assigning a value.
- Pointers and strings. Incomplete types.
- Formatted Input Output. Using printf and scanf to write to the screen and read from keyboard. Escape sequences.
- Arithmetic and logic. Arithmetic, bitwise, logical and Floating point operators.
- Compound assignment operators.
Flow control
- Selection statements : if/else and switch.
- iteration statements : for, while, do/while
- jump statements : goto, labels, label addressing. Continue and break statements.
Storage classes
- Storage classes : auto, static, extern, register.
- Storage qualifiers : volatile, const, restrict.
- Pointers et arrays : initialization of pointers and arrays. Multidimensional arrays.
C functions
- Function declarations. Argument passing. return directive.
- Scope of the variables. Function pointers.
- Declaring function prototypes.
- Advanced C function programing. Inline function tag. Nested functions. Variable number of arguments.
User defined types
- Structures definition. Initialization of structures.
- Accessing a structure members. Accessing a structure members with a pointer.
- Definition of unions. initialization of unions.
- Accessing a union members. Accessing a union members with a pointer.
The standard C library
- The strings library functions. Signal, raise, kill are used to send or receive signals.
- C library propose a standard interface for file I/O.
- Buffered file access, formatted and unformatted I/O. Constants and variables.
- Non local goto. Using setjmp and longjmp with signals.
- Handling errors : errno, stderr and perror .
- Security issues. Buffer overflows vulnerabilities. Threading problems and race conditions
Participants / Prerequisite
» Participants
Engineers and programers wishing to acquire a complete and operational training on C language.
» Prerequisite
Basic programing knowledge.
Intra/Tailored
Book your place
Submit your request
Time schedule
Generally, courses take place from 9:00 to 12:30 and from 14:00 to 17:30.
However, on the first day attendees are welcomed from 8:45, and there is a presentation of the session between 9:15 and 9:30.
The course itself begins at 9:30. For the 4- or 5-day hands-on courses, the sessions finish at 15:30 on the last day