For every practice there is a folder with the code in it.
Install dependency for compiling C and CPP code
sudo apt-get install build-essential
Compiling a C program
gcc -Wall -W -Werror main.c -o [EXECUTABLE_NAME]
Compiling a CPP program
g++ -Wall -W -Werror main.cpp -o [EXECUTABLE_NAME]
Makefile
There should be a makefile in every code directory, so just run make
.
It should compile the program to the subdirectory build