Hide menu

TDDD38 Advanced Programming in C++ (6 ECTS)


This is an advanced course on the programming language C++. The course is given twice a year, autumn and spring, and runs the whole semesters.

Please note, late registration is handled by the course's director of studies (studierektor). See the contact page in the menu to find the current director of studies and contact that person using the form here: Swedish students | Master / exchange students
Please remember that you'll still have to register for the course in the student portal after you have been accepted.

Latest News...


Apr 27  Copilers
 

We finally have a module available for gcc. To get access to gcc6 in the current terminal, run module add prog/gcc/6.0.1
To get it installed as default for your user (from next login), run module initadd prog/gcc/6.0.1


Mar 4  Copilers
 

The compilers at our lab systems are kind of old. The current GCC compiler is version 4.8.4 and has full support for C++11 and some support for C++14 (with compiler flag -std=c++1y). If you want to compile newer code (ie try some more C++14 and even alot from the next standard) you can use the GCC version in the course library. It is version 6. Use the following command to compile (default is c++14, add your warnings flags):

        /home/TDDD38/bin/gcc/bin/g++ my_file.cc
        
If you are using the standard library in any way, the system need to find the correct implementation at runtime. Solve this by running this command:
        export LD_LIBRARY_PATH=/home/TDDD38/bin/gcc/lib64:${LD_LIBRARY_PATH}
        
You can add that command to your .bashrc (or similar) to get it for all terminals.
Another solution is to add the flag -static-libstdc++ at compilation. This will statically link the standard library in your binary. This will of course increase the binary size (several MB).


Jan 18  Welcome to the course
 

The course webpage should be mostly ready for a new term. The materials-section will be updated continuously (mirrors the course GitLab group)


All messages >>

Page responsible: Eric Elfving
Last updated: 2016-01-26