Beskrivning
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 Keil, and a Lauterbach-debug connected to an ARM Cortex-M3 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.
General info:
Loan of training lab kit are included but you bring your own laptop to this event.





Recensioner
Det finns inga recensioner än.