diff --git a/export.sh b/export.sh index ecdb7f7ffbe214016775fb4b4933ba142ccbf00f..9c21a789650aa0910f1f13cb3d253e23898fc87c 100755 --- a/export.sh +++ b/export.sh @@ -3,9 +3,10 @@ if [ -z ${RUST_CLASS_ROOT+x} ]; then echo "RUST_CLASS_ROOT is unset"; else echo "var is set to '$RUST_CLASS_ROOT'"; fi if [ -z ${SL_CLASS_ROOT+x} ]; then echo "SL_CLASS_ROOT is unset"; else echo "var is set to '$SL_CLASS_ROOT'"; fi if [ -z ${MTI_CLASS_ROOT+x} ]; then echo "MTI_CLASS_ROOT is unset"; else echo "var is set to '$MTI_CLASS_ROOT'"; fi +if [ -z ${RUST_EXERCICES_ROOT+x} ]; then echo "RUST_EXERCICES_ROOT is unset"; else echo "var is set to '$RUST_EXERCICES_ROOT'"; fi ## declare classes directories -declare -a arr=("$RUST_CLASS_ROOT" "$SL_CLASS_ROOT" "$MTI_CLASS_ROOT" "$(pwd)") +declare -a arr=("$RUST_CLASS_ROOT" "$SL_CLASS_ROOT" "$MTI_CLASS_ROOT" "$RUST_EXERCICES_ROOT" "$(pwd)") ## now loop through the above array for i in "${arr[@]}" diff --git a/index.md b/index.md index de44ae3c722b840a890597c7b5981cea9c4dbae3..748296841f29bb3a45fbe8775d225038a6d6d66f 100644 --- a/index.md +++ b/index.md @@ -26,6 +26,11 @@ corrige: false ## [Programmation séquentielle en Rust](prog_seq/index.html), [git repo](https://githepia.hesge.ch/orestis.malaspin/rust) +# Exercices de première année + +## TP1 Rust: Nombre secret, [HTML](prog_seq/exercices/nombre_secret/), [PDF](prog_seq/exercices/nombre_secret/index.pdf) +<!-- ## TP2 Rust: Calcul de $\pi$, [HTML](prog_seq/exercices/calcul_pi/), [PDF](prog_seq/exercices/calcul_pi/index.pdf) --> + # Cours de deuxième année ## [Mathématiques en technologie de l'information](mti/index.html), [git repo](https://githepia.hesge.ch/orestis.malaspin/math_tech_info)