Vexcited/IUT-R1.01
Repository containing all the lessons (from 2023-2024 session) in R1.01 from the IUT of Limoges.
Solutions are written in the following languages:
.fr
extension), because I'm French and the teacher wants us to resolve the TDs in pseudo code. Interpreter used will be frr
.If the language used produces a binary, make sure that the binary is executable, if not run chmod +x ./bin_file
.
# We compile using gcc
gcc ./file.c -o c_bin && ./c_bin
# We compile using rustc
rustc ./file.rs -o rust_bin && ./rust_bin
We can directly run the file using zig run ./file.zig
.
But if we want to compile it, we can do the following:
zig build-exe --name zig_bin ./file.zig && ./zig_bin
Note that the binary will be in mode Debug
by default, so no optimisations will be made.
Otherwise, use the -O ReleaseSafe
flag.
Only Python 3 is supported.
# We run the python file
python3 ./file.py