Hide menu

TDDD38 Advanced Programming in C++

Working in the lab system


There are two simple ways of working with our system graphically; locally and using ThinLinc.

ThinLinc

ThinLinc is a system from cendio which you can use to access our lab system from your own system in a graphical window. Download the client from Cendio and install it. Then connect to host thinlinc.edu.liu.se using your usual LiU-ID and password.
Compiler warnings
Gcc has alot of warning flags which is highly recommended.
-std=c++17
Compile with the newest standard (c++14 is default in this compiler, 98 with the default compiler
-Wall -Wextra -pedantic
A group of warnings for things that really should be default
-Weffc++
Warns on things related to class design
-Wsuggest-attribute=const
Show which functions that can be const
-fconcepts
Allow concepts
You could create an alias for this in your ~/.bashrc-file:
alias g++17='g++ -std=c++17 -Wall -Wextra -pedantic ...'

Page responsible: Christoffer Holm
Last updated: 2020-01-23