Introduction to C++
Students who have done little programming but know at least one programming language. Knowledge of the Linux environment is not necessary.
- 5 lectures of 2 hours.
- 5 practical sessions of 2 hours (two students/machine).
To enable students with little programming experience to master the syntactic elements of the language in order to quickly enter the required projects and to acquire autonomy for personal work. An environment (cygwin) will be offered to students who wish to have C/C++ working tools on their personal Windows XP machine.
Introduction to writing a simple program
- Instructions and instruction blocks
- Architecture elements to explain variable typing
- Types, operators
- Compiling with options/debugger.
- Conditional statements and iterations
- Functions and arrays
- Pointers, references
- Static/dynamic memory allocation
- Notions of classes
- Operator overloading
- Standard library
- Building an application with a Makefile