Nur gute Programmierer kommen in den Himmel.
-
Also strengt euch mal ein bisschen an.
:xmas1:
-
Was ist den das für ein Name?
ki33er: 3 = e -> kieeer
-
bool IsGood(const char* name) { if (strcmp(name , "alex89ru") == 0) return true; else goto hell; }
-
alex89ru schrieb:
bool IsGood(const char* name) { if (strcmp(name , "alex89ru") == 0) return true; else goto hell; }
Ohohohoho kleines Späßla gmacht hä?

-
alex89ru schrieb:
bool IsGood(const char* name) { if (strcmp(name , "alex89ru") == 0) return true; else goto hell; }
schlechter Code
:xmas2:
-
Find ich nicht.
...ja ja, ich weiß...man soll das goto nicht verwenden....
...bloß das goto hat gerade so schön reingepasst. (goto hell)
-
alex89ru schrieb:
...bloß das goto hat gerade so schön reingepasst. (goto hell)
Tja, und schon hast du dir deinen Aufenthalt im Himmel verbaut. :xmas1:
-
bool isFrickler(const std::string& name) { return name == "alex89ru"; }
-
Wer will schon in den Himmel.
Imagine there's no heaven,
It's easy if you try,
No hell below us,
Above us only sky,
Imagine all the people
living for today...John Lennon
-
Dann Zitier ich mal Iron Maiden :
"Heaven can Wait 'til another day"
und
"Hell ain't a bad place, Hell is from here to eternity"
:xmas2:
-
Forum :: schrieb:
Was ist den das für ein Name?
ki33er: 3 = e -> kieeerk => k
i => i
3 => 3
3 => 3
e => e
r => r=> ki33er