Przeglądaj źródła

Began task1. Inserted fn's.

Joshua Rutschmann 8 lat temu
rodzic
commit
3bf597d210
2 zmienionych plików z 21 dodań i 0 usunięć
  1. 6
    0
      hw6/task1/Cargo.toml
  2. 15
    0
      hw6/task1/src/main.rs

+ 6
- 0
hw6/task1/Cargo.toml Wyświetl plik

@@ -0,0 +1,6 @@
1
+[package]
2
+name = "task1"
3
+version = "0.1.0"
4
+authors = ["Joshua Rutschmann <joshua.rutschmann@gmx.de>"]
5
+
6
+[dependencies]

+ 15
- 0
hw6/task1/src/main.rs Wyświetl plik

@@ -0,0 +1,15 @@
1
+fn main() {
2
+    println!("Hello, world!");
3
+}
4
+
5
+fn concatenate_strings(){
6
+}
7
+
8
+fn split_into_strings(){
9
+}
10
+
11
+fn sum_strings(){
12
+}
13
+
14
+fn mul_strings(){
15
+}

Ładowanie…
Anuluj
Zapisz