Difference between revisions of "From C++03 to C++11"

From Gridkaschool
Line 27: Line 27:
   
 
==Technical aspects for the course==
 
==Technical aspects for the course==
==Gridka School slides==
+
===Gridka School slides===
   
 
===access to machines===
 
===access to machines===

Revision as of 13:12, 27 August 2014

Gridka School 2014 C++ course

  • Martin Heck, KIT EKP
  • Jörg Meyer, KIT SCC

Literature on C++

C++ books

  • The C++ Programming Language, Bjarne Stroustrup
  • Effective C++, Scott Meyers
  • More Effective C++: 35 New Ways to Improve Your Programs and Designs
  • Modern C++ Design, Andrei Alexandrescu
  • The C++ Standard Library, Nicolai M. Josuttis
  • C++ Templates, David Vanevoorde, Nicolai M. Josuttis
  • Exceptional C++, Herb Sutter
  • More Exceptional C++, Herb Sutter

C++11 books

  • The C++ Programming Language, 4th Edition, Bjarne Stroustrup
  • The C++ Standard Library: A Tutorial and Reference (2nd Edition), Nicolai M. Josuttis

C++ links

C++11 links

Technical aspects for the course

Gridka School slides

access to machines

You can run the exercises either on your own computer or ssh to one of our prepared machines using your Gridka School account.

  • connection from Linux/Unix: ssh -p24 <username>@gks-<xxx>.scc.kit.edu
  • connection from Windows: use an ssh client like putty, or use cygwin

This is a list of hostnames: gks-084 gks-088 gks-098

compilaton and execution of code

Most examples consist of just one cpp file, i.e. no header file, no additional library. Use the following commands to compile and run the code:

g++ mycode.cpp
./a.out

For C++11 support do:

g++ -std=c++11
./a.out