Sfoglia il codice sorgente

Add missing header in README

Michael Mächtel 8 anni fa
parent
commit
a482c9185d
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4
    0
      hw1/task3/README.md

+ 4
- 0
hw1/task3/README.md Vedi File

@@ -1,4 +1,8 @@
1 1
 # Homework hw1 task 3
2 2
 
3
+## prepare your task
4
+
5
+Run `cargo init` in your `task3/` directory.
6
+
3 7
 ## task
4 8
 Schreiben Sie eine Funktion `count(line: &str, c: char) -> u64)` welche zählt, wie oft ein gegebenes Zeichen (c) in einem gegebenen String (line) vorkommt und diese Anzahl zurück gibt. Z.B. soll der Aufruf `count("peter", 'e')` `2` zurückgeben.

Loading…
Annulla
Salva