説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Joshua Rutschmann e540c0de3d Merge branch 'hw1' of github.com:htwg-syslab-bsys-ws17/bsys-ws17-template into hw1 8年前
..
src Solved hw1/task3 and ran all tests successfully 8年前
tests now in rustfmt 0.9 format 8年前
Cargo.toml Initialized hw1/task3 8年前
README.md Add missing header in README 8年前

README.md

Homework hw1 task 3

prepare your task

Run cargo init in your task3/ directory.

task

Schreiben Sie eine Funktion count(line: &str, c: char) -> u64) welche zählt, wie oft ein gegebenes Zeichen © in einem gegebenen String (line) vorkommt und diese Anzahl zurück gibt. Z.B. soll der Aufruf count("peter", 'e') 2 zurückgeben.