C is still the most common language for programming microprocessors. We offer you a complete introduction course that gives you a kick-start!
This is mainly a hands-on seminar.
Goal You will learn about datatypes, functions, operators, and expressions. We also talk about standard libraries and programstructuring.
You will gain enough knowledge to start programming yourself, you will have a good platform to start for developing in C.
Participants We have had developers of embedded systems with no or little prior knowledge of C in our minds as participants, when we created this seminar.
Previous knowledge To gain the most from this seminar, you must be familiar with programming in one language or the other, but not necessarily C. Maybe you have old knowledge in C that you need to freshen up?
Practical exercises / Tools This class has many exercises included, showing the advantages of programming in C for microcomputers. Each theoretical part is followed by a practical exercise. We perform the exercises on a PC under teacher’s supervision.
We use an integrated Windows environment. You will edit, compile and link you code via a compiler from IAR, and a Lauterbach emulator connected to a MSC12 T-board
Content
Introduction
The origin of C and what is has meant for development
C orientation
Overview of the advantages and downsides of C
Standard C (ANSI)
The meaning of the standard and portability
Structures
How the language is built and included parts
Datatypes
Overview of declarations, integer types, etc.
Constants
Number constants, character constants, strings and constants in strings.
Variables
Initiatings, vectors and indexing
Operators
Overview of arithmetic, shift, comparisons, bit, logical operators, terms and allocations.
Bit handling
Shift and operator applications.
Functions
Declaration of functions, definitions and calls with parameters.
Pointers as parameters.
Self defined data types
Structures and type declarations
Pointers
An orientation on pointers and the use of such
Library
An overview of standard functions and libraries
Practical exercises with input and output, file handling and strings.
* Prices subject to change. Prices apply in Sweden and are in Euro, excl. VAT.
Sthlm = Stockholm, Gbg = Gothenburg, Cph = Copenhagen, Mmo = Malmö, Lkpg = Linköping,
Jkpg = Jönköping, Oslo in Norway, Vantaa in Finland, Twyford in the UK.