Introduction

This is a very brief introduction to the C++ programming language, to be used in courses held at the Département d'Informatique and the Département de Mathématiques Appliquées of the École Polytechnique. The aim of the course is to teach the basics of the C++ language in a practical, hands-on way, without many of the more technical details concerning the more advanced topics. These notes should be paired with the associated presentation slides:
http://www.lix.polytechnique.fr/~liberti/teaching/c++/online/course.pdf
http://www.lix.polytechnique.fr/~liberti/teaching/c++/online/course-javausers.pdf
but most importantly with the exercise book (http://www.lix.polytechnique.fr/~liberti/teaching/c++/online/exercises), where most of the material is analyzed in depth. All the didactical content can be found online at http://www.lix.polytechnique.fr/~liberti/teaching/c++/online.

The main sources for these notes are:

  1. Bjarne Stroustrup, The C++ Programming Language, 3rd edition, Addison-Wesley, Reading (MA), 1999
  2. Stephen Dewhurst, C++ Gotchas: Avoiding common problems in coding and design, Addison-Wesley, Reading (MA), 2002
  3. Herbert Schildt, C/C++ Programmer's Reference, 2nd edition, Osborne McGraw-Hill, Berkeley (CA).



Leo Liberti 2008-01-12