From f54b43ff30014ad2b4989db5b673653016099618 Mon Sep 17 00:00:00 2001 From: Christopher Fremond <34804391+Frenchris@users.noreply.github.com> Date: Tue, 26 Nov 2019 23:16:38 +0000 Subject: [PATCH] Update cat.fr.md --- subjects/cat.fr.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/subjects/cat.fr.md b/subjects/cat.fr.md index 1d677435..e64ac7d4 100644 --- a/subjects/cat.fr.md +++ b/subjects/cat.fr.md @@ -18,17 +18,22 @@ `"Alan Mathison Turing was an English mathematician, computer scientist, logician, cryptanalyst. Turing was highly influential in the development of theoretical computer science, providing a formalisation of the concepts of algorithm and computation with the Turing machine, which can be considered a model of a general-purpose computer. Turing is widely considered to be the father of theoretical computer science and artificial intelligence."` -- L eprogramme doit être rendu dans un dossier nommé `cat`. +- En cas d'erreur le programme doit afficher l'erreur. + +- Le programme doit être rendu dans un dossier nommé `cat`. ### Utilisation: ```console student@ubuntu:~/piscine-go/cat$ go build -student@ubuntu:~/piscine-go/cat$ ./cat Hello There -Hello -There +student@ubuntu:~/piscine-go/cat$ ./cat abc +open abc: no such file or directory student@ubuntu:~/piscine-go/cat$ ./cat quest8.txt "Programming is a skill best acquired by pratice and example rather than from books" by Alan Turing +student@ubuntu:~/piscine-go/cat$ ./cat +Hello +Hello +^C student@ubuntu:~/piscine-go/cat$ ./cat quest8.txt quest8T.txt "Programming is a skill best acquired by pratice and example rather than from books" by Alan Turing