summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--de-de/c-de.html.markdown7
-rw-r--r--pascal.html.markdown2
-rw-r--r--processing.html.markdown2
3 files changed, 6 insertions, 5 deletions
diff --git a/de-de/c-de.html.markdown b/de-de/c-de.html.markdown
index 9a938b22..f9090518 100644
--- a/de-de/c-de.html.markdown
+++ b/de-de/c-de.html.markdown
@@ -180,11 +180,12 @@ int main (int argc, char** argv) {
// Typen
////////////////////////////////////////////////
- // Alle Variablen müssen am Anfang des jetzigen Blocks deklariert werden.
- // Wir deklarieren die Variablen dynamisch im Code um die Lesbarkeit im
- // Tutorial zu verbessern.
+ // Compiler, welche nicht C99-kompatibel sind, verlangen, dass sämtliche
+ // Variablen zu Beginn des Blocks deklariert werden.
// C99-Konforme Compiler erlauben die Variablendeklaration an dem Punkt, an
// welchem die Variable verwendet wird.
+ // Wir deklarieren die Variablen dynamisch im Code um die Lesbarkeit im
+ // Tutorial zu verbessern.
// integer sind normalerweise 4 Bytes groß
int x_int = 0;
diff --git a/pascal.html.markdown b/pascal.html.markdown
index 9fb51c3b..a505a38f 100644
--- a/pascal.html.markdown
+++ b/pascal.html.markdown
@@ -15,7 +15,7 @@ source : [wikipedia](https://en.wikipedia.org/wiki/Pascal_(programming_language)
to compile and run a pascal program you could use a free pascal compiler. [Download Here](https://www.freepascal.org/)
```pascal
-//Anathomy of a Pascal Program
+//Anatomy of a Pascal Program
//this is a comment
{
this is a
diff --git a/processing.html.markdown b/processing.html.markdown
index e437ee95..d99912e7 100644
--- a/processing.html.markdown
+++ b/processing.html.markdown
@@ -140,7 +140,7 @@ SomeRandomClass myObjectInstantiated = new SomeRandomClass();
// Arithmetic
1 + 1 // 2
-2 - 1 // 0
+2 - 1 // 1
2 * 3 // 6
3 / 2 // 1
3.0 / 2 // 1.5