From C++03 to C++11
From Gridkaschool
Jump to navigationJump to search
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
- http://www.stroustrup.com/bs_faq2.html
- http://www.cplusplus.com/reference/
- http://www.parashift.com/c++-faq/
- http://herbsutter.com/gotw/
- http://wiki.scc.kit.edu/gridkaschool/index.php/Effective_Analysis_Programming_Part_1
- http://wiki.scc.kit.edu/gridkaschool/index.php/Effective_Analysis_Programming_Part_2
C++11 links
- http://isocpp.org/get-started
- http://herbsutter.com/elements-of-modern-c-style/
- http://isocpp.org/tour
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 mycode.cpp ./a.out