From 943a28977514bc32d66252b1254f0a105ed3a836 Mon Sep 17 00:00:00 2001 From: Orestis Malaspinas <orestis.malaspinas@hesge.ch> Date: Thu, 20 Sep 2018 10:46:09 +0200 Subject: [PATCH] mise a jour pour les exercices de rust --- export.sh | 3 ++- index.md | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/export.sh b/export.sh index ecdb7f7..9c21a78 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 de44ae3..7482968 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) -- GitLab