Hackerboard WikiHaboBlog

[HaBo]

 
Fun Section Witzige Geschichten aus der Computerwelt.

Eure besten Informatik Witze

Diskussion: Eure besten Informatik Witze im Forum Fun Section, in der Kategorie HaBo Lounge; Wenn der Junge schon keine Lust zu schreiben hat, dann soll er's auch so kurz wie möglich machen. Das "int" ...

Like Tree3Likes

Antwort
Alt 04.07.09, 17:17   #46 (permalink)
 
Benutzerbild von Extinction
 
Registriert seit: 02.01.07
Extinction Leistung: Facit NTK
Likes: 0
Standard


Wenn der Junge schon keine Lust zu schreiben hat, dann soll er's auch so kurz wie möglich machen.
Das "int" kann gleich mit in die Schleife und statt "count" einfach "i" nehmen. Außerdem braucht er noch Zeilenumbrüche, oder? Oo

Extinction ist offline   Mit Zitat antworten
Alt 17.10.09, 02:50   #47 (permalink)
 
Benutzerbild von Tenchuu
 
Registriert seit: 21.01.07
Tenchuu Leistung: Facit NTK
Tenchuu eine Nachricht über ICQ schicken
Likes: 0
Standard

Unsre Developer sind alles Nulln... haha wasn Wortwitz ...
Tenchuu ist offline   Mit Zitat antworten
Alt 17.10.09, 17:56   #48 (permalink)
Senior Member
 
Registriert seit: 13.07.08
enkore Leistung: Pentium Ienkore Leistung: Pentium Ienkore Leistung: Pentium I
Likes: 60
Standard

@60150p:
Wär doch was für die Simpsons^^

#include <stdio>
int main(void){for(int i=0;i<500;i++)printf("I will not throw paper airplanes into the class.");}
__________________
"It is the human race! The deterioration of the spirit of man. Man undermining himself, causing a self-willed, self-imposed, self-evident self-destruction."
+++ BREAKING +++ Troll ertrinkt im Planschbecken +++
enkore ist offline   Mit Zitat antworten
Alt 17.10.09, 19:34   #49 (permalink)
 
Benutzerbild von Lord_Nykon
 
Registriert seit: 04.03.04
Lord_Nykon Leistung: Facit NTK
Likes: 0
Standard

Wenn wir schon dabei sind, kann man das void ja auch weg lassen

#include <stdio.h>
int main(){for(int i=0;i<500;i++)printf("I will not throw paper airplanes into the class.");}
Lord_Nykon ist offline   Mit Zitat antworten
Alt 17.10.09, 20:00   #50 (permalink)
 
Benutzerbild von AcoQ
 
Registriert seit: 01.08.05
AcoQ Leistung: 8086
Likes: 3
Standard

__________________
http://letsfightwhitepride.de
AcoQ ist offline   Mit Zitat antworten
Alt 18.11.09, 16:39   #51 (permalink)
 
Benutzerbild von ChiefWiggum
 
Registriert seit: 09.10.07
ChiefWiggum Leistung: 8086
ChiefWiggum eine Nachricht über ICQ schicken
Likes: 11
Standard

Bei C geht das int glaub ich nicht mit ins for rein

#include <stdio.h>
int main(){for(int i=0;i++<500printf("I will not throw paper airplanes into the class.");}

noch fauler^^
__________________
Be the source always with you.
ChiefWiggum ist offline   Mit Zitat antworten
Alt 15.01.10, 19:49   #52 (permalink)
 
Registriert seit: 12.04.09
CiscoKid Leistung: Z3
Likes: 2
Standard

Und hier noch was für die ganz faulen ^^

Code:
main(){int i=500;for(;i--;)puts("I will not throw paper airplanes into the class.");}
/ck
CiscoKid ist offline   Mit Zitat antworten
Alt 17.01.10, 00:29   #53 (permalink)
 
Benutzerbild von rami
 
Registriert seit: 09.02.08
rami Leistung: Facit NTK
rami eine Nachricht über ICQ schicken rami eine Nachricht über Skype™ schicken
Likes: 0
Standard

Zitat:
Zitat von CiscoKid Beitrag anzeigen
Und hier noch was für die ganz faulen ^^

Code:
main(){int i=500;for(;i--;)puts("I will not throw paper airplanes into the class.");}
/ck
Wie oft wollt ihr diese Frage noch nach 3 Monaten ausgraben?
Ich pers. würd übrigens eine andere Sprache nehmen (deins hat 85 Zeichen):
PHP (82 Zeichen):
PHP-Code:
<? for($i=0;$i<500;$i++) echo "I will not throw paper airplanes into the class.";}
Python (80 Zeichen):
Code:
for i in range(0,500): print("I will not throw paper airplanes into the class.")
__________________
rami ist offline   Mit Zitat antworten
Alt 17.01.10, 01:29   #54 (permalink)
 
Registriert seit: 05.09.07
Garfield Leistung: Z3
Likes: 0
Standard

perl:

for(1..500){print"I will not throw paper airplanes into the class."}

Zeichen: 69 ;-)
Garfield ist offline   Mit Zitat antworten
Alt 17.01.10, 02:27
Cyberm@ster
Dieser Beitrag wurde von Cyberm@ster gelöscht.
Alt 17.01.10, 02:41   #55 (permalink)
 
Benutzerbild von detrexer
 
Registriert seit: 04.04.07
detrexer Leistung: Facit NTK
detrexer eine Nachricht über ICQ schicken detrexer eine Nachricht über MSN schicken
Likes: 0
Standard

Pyhton
print["I will not throw paper airplanes into the class." for i in range(500)]

sind schonmal 80 Zeichen und dasselbe Ergebnis aber nicht so schön

["I will not throw paper airplanes into the class." for i in range(500)]

kommt auf 74 Zeichen aber ich weiss nicht ob das so sauber ist
__________________
Mein Blog: http://keinwegraus.wordpress.com/
detrexer ist offline   Mit Zitat antworten
Alt 17.01.10, 13:04   #56 (permalink)
 
Benutzerbild von Extinction
 
Registriert seit: 02.01.07
Extinction Leistung: Facit NTK
Likes: 0
Standard

Wenn wir schonmal dabei sind: 415 Zeichen NASM. Hab verloren, auch wenn ich's noch ein bischen stutze... xD
Code:
section .data
    X    db    'I will not throw paper airplanes into the class.',10
    XLen    equ    $ - X

section .bss
    buffer:        resb    1337 ; LEET!

section    .text
    global _start

_start:
    mov    BYTE[buffer],500
echo:
    pop    ecx
    mov    [ergebnis],ecx
    mov    eax,4
    mov    ebx,1
    mov    ecx,X
    mov    edx,XLen
    int    80h
    dec    BYTE[buffer]
    mov    eax,[buffer]
    test    eax,eax
    jnz    echo    

    mov    ebx,eax
    mov    eax,1
    int    80h
ret
Wird aber langsam ziemlich OT das Ganze...
Extinction ist offline   Mit Zitat antworten
Alt 17.01.10, 13:44   #57 (permalink)
 
Benutzerbild von bad_alloc
 
Registriert seit: 27.12.07
bad_alloc Leistung: Z3
Likes: 24
Standard

Code:
(dotimes(x 500)(print "I will not throw paper airplanes into the class."))
73 Zeichen in Lisp.

Zitat:
To be, or not to be, that is the question.
2b, or not 2b, that is the question.
/(bb|[^b]{2})/
Und die Gebote.
__________________
You shoot yourself in somebody else's foot.|Dann gabs da noch den Mathematiker der P?=NP in O(1) erklärte.
|[A]| = p(·,|[A]|)+1
bad_alloc ist offline   Mit Zitat antworten
Alt 17.01.10, 18:30   #58 (permalink)
 
Benutzerbild von rami
 
Registriert seit: 09.02.08
rami Leistung: Facit NTK
rami eine Nachricht über ICQ schicken rami eine Nachricht über Skype™ schicken
Likes: 0
Standard

Zitat:
Zitat von detrexer Beitrag anzeigen
Pyhton
print["I will not throw paper airplanes into the class." for i in range(500)]

sind schonmal 80 Zeichen und dasselbe Ergebnis aber nicht so schön

["I will not throw paper airplanes into the class." for i in range(500)]

kommt auf 74 Zeichen aber ich weiss nicht ob das so sauber ist
Da fällt mir ein: 62 Zeichen Python!
Code:
print "I will not throw paper airplanes into the class.\n"*500
__________________
rami ist offline   Mit Zitat antworten
Alt 17.01.10, 18:33   #59 (permalink)
 
Benutzerbild von detrexer
 
Registriert seit: 04.04.07
detrexer Leistung: Facit NTK
detrexer eine Nachricht über ICQ schicken detrexer eine Nachricht über MSN schicken
Likes: 0
Standard

Zitat:
Zitat von rami Beitrag anzeigen
Da fällt mir ein: 62 Zeichen Python!
Code:
print "I will not throw paper airplanes into the class.\n"*500
Epic!
OMG
http://en.wikipedia.org/wiki/Geek_humor
__________________
Mein Blog: http://keinwegraus.wordpress.com/

Geändert von detrexer (17.01.10 um 18:50 Uhr)
detrexer ist offline   Mit Zitat antworten
Alt 17.01.10, 21:13   #60 (permalink)
 
Registriert seit: 05.09.07
Garfield Leistung: Z3
Likes: 0
Standard

Zitat:
Zitat von rami Beitrag anzeigen
Da fällt mir ein: 62 Zeichen Python!
Code:
print "I will not throw paper airplanes into the class.\n"*500
perl:
print"I will not throw paper airplanes into the class."x500

Kann man bei Python das Leerzeichen auch weglassen?
Garfield ist offline   Mit Zitat antworten
Antwort
   

Werbung ist gerade online    

[HaBo] » Sonstiges » HaBo Lounge » Fun Section » Eure besten Informatik Witze
Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind aus
Pingbacks sind aus
Refbacks sind aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Anti-Witze pfaffi7 Fun Section 19 21.06.07 10:41
Notebook mit dem besten Display - eure Erfahrungen? maedmexx Kaufberatung 6 03.02.07 10:36
Witze! Hirnbreaker Fun Section 0 13.07.06 20:57


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61