diff options
author | caminsha <c.96marco@hotmail.com> | 2020-02-02 21:20:09 +0100 |
---|---|---|
committer | caminsha <c.96marco@hotmail.com> | 2020-02-02 21:20:09 +0100 |
commit | ec76a960a6e9f04b5fe75faa7301d5fa5eed7fdb (patch) | |
tree | b143f17487b9f837a35e5bcc376fdc8cfc73cfe9 | |
parent | 06c51c70e1f79a54c9d99b48bdb1dd66d64818e6 (diff) |
Removed section about goto
-rw-r--r-- | de-de/c-de.html.markdown | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/de-de/c-de.html.markdown b/de-de/c-de.html.markdown index e5beb28f..fceec5d4 100644 --- a/de-de/c-de.html.markdown +++ b/de-de/c-de.html.markdown @@ -364,23 +364,6 @@ int main (int argc, char** argv){ break; } - // Verwendung von "goto" in C - typedef enum { false, true } bool; - bool desaster = false; - int i, j; - for(i=0; i < 100; ++i){ - for (j=0; j < 100; ++j){ - if ((i + j ) >= 150){ - desaster = true; - } - if (desaster){ - goto error; - } - } - } -error: - printf("Ein Fehler ist aufgetreten bei i = %d & j ? %d\n", i, j); - //////////////////////////////////////////////// // Typenumwandlung //////////////////////////////////////////////// |