Browse Source

standardization

pull/179/head
Christopher Fremond 5 years ago
parent
commit
4b1fc504d8
  1. 2
      subjects/cat.en.md
  2. 10
      subjects/cat.fr.md

2
subjects/cat.en.md

@ -20,7 +20,7 @@ Write a program that has the same behaviour as the system's `cat` command-line.
- In case of error the program should print the error. - In case of error the program should print the error.
- The program must be submitted inside a folder with the name `cat`. - The program must be submitted inside a folder named `cat`.
```console ```console
student@ubuntu:~/student/cat$ go build student@ubuntu:~/student/cat$ go build

10
subjects/cat.fr.md

@ -20,16 +20,18 @@
- En cas d'erreur le programme doit imprimer l'erreur. - En cas d'erreur le programme doit imprimer l'erreur.
- L eprogramme doit être rendu dans un dossier nommé `cat`.
### Utilisation: ### Utilisation:
```console ```console
student@ubuntu:~/student/test$ go build student@ubuntu:~/student/cat$ go build
student@ubuntu:~/student/test$ ./test student@ubuntu:~/student/cat$ ./cat
Hello Hello
Hello Hello
student@ubuntu:~/student/test$ ./test quest8.txt student@ubuntu:~/student/cat$ ./cat quest8.txt
"Programming is a skill best acquired by pratice and example rather than from books" by Alan Turing "Programming is a skill best acquired by pratice and example rather than from books" by Alan Turing
student@ubuntu:~/student/test$ ./test quest8.txt quest8T.txt student@ubuntu:~/student/cat$ ./cat quest8.txt quest8T.txt
"Programming is a skill best acquired by pratice and example rather than from books" by Alan Turing "Programming is a skill best acquired by pratice and example rather than from books" by Alan Turing
"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." "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."

Loading…
Cancel
Save