MixMasterMike Posted February 15, 2007 Share Posted February 15, 2007 J'ai honte mais... Installshield Script: function PrintHello() begin Sprintf(gsBuffer,"Hello World"); MessageBox(gsBuffer,SEVERE); end; Link to post Share on other sites
Shinuza Posted February 19, 2007 Share Posted February 19, 2007 En actionscript : Mode lazy stop(); trace("Hello World"); Sinon import mx.transitions.Tween; import mx.transitions.easing.*; var helloClip_mc :MovieClip = this.createEmptyMovieClip("helloClip_mc",1); var sayHello_txt :TextField = this.helloClip_mc.createTextField("sayHello_txt",2,0,0,0,0); var formatHello_fmt :TextFormat = new TextFormat(); with(formatHello_fmt) { color = 0x000000; size = 50; font = "Arial"; } with(helloClip_mc.sayHello_txt) { autoSize = "left"; text = "Hello World"; setTextFormat(formatHello_fmt); _x=(Stage.width-this._width)/2; _y=(Stage.height-this._height)/2; } var helloTween : Tween = new Tween(helloClip_mc, "_y", Bounce.easeOut, Stage.height+helloClip_mc.sayHello_txt._height, 0, 1, true); Link to post Share on other sites
Fad62 Posted March 31, 2007 Share Posted March 31, 2007 Script sh : #!/bin/sh echo "Hello World !"; Voilà ^^ Link to post Share on other sites
Krogoth Posted May 15, 2007 Share Posted May 15, 2007 en Ook, un langage dérivé du brainfuck. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook. Ook! Ook? Ook! Ook! Ook? Ook! Ook. Ook. Ook. Ook.Ook. Ook.Ook. Ook.Ook. Ook.Ook. Ook.Ook. Ook.Ook. Ook.Ook. Ook.Ook. Ook. Ook! Ook. Link to post Share on other sites
simonkey Posted May 23, 2007 Share Posted May 23, 2007 petites erreurs pour C et C++ : #include <iostream.h> int main(int argc, char *argv[]) {cout << "HELLO WORLD";} #include stdio.h int main(int argc, char *argv[]) { printf("Hello world, Sarvok is Now the Best"); return 0; } main retourne normalement un int et prend des arguments (en C) même si c'est facultatif en C++ ... et les dieses n'étaient pas placées ou placées au mauvais endroit... sinon pour le ksh c'est pareil que le shell : #!/bin/ksh echo "Hello World !"; en ruby : puts "Hello World !" Link to post Share on other sites
16ar Posted May 29, 2007 Share Posted May 29, 2007 en lolcode (http://lolcode.com) HAI CAN HAS STDIO? VISIBLE "HAI WORLD!" KTHXBYE Mais le must, ca reste la gestion des exceptions HAI CAN HAS STDIO? PLZ OPEN FILE "LOLCATS.TXT"? AWSUM THX VISIBLE FILE O NOES INVISIBLE "ERROR!" KTHXBYE le : O NOES mdr et le fin de programme : KTHXBYE Link to post Share on other sites
SnipX Posted October 12, 2007 Share Posted October 12, 2007 Salut, juste pour dire de changer le titre, ce n'est pas "language" mais langage ! :) We don't speak english here hihi :) Bon week-end ! :) Link to post Share on other sites
Quarky Posted October 12, 2007 Share Posted October 12, 2007 En effet et il aura fallu du temps pour que quelqu'un le voit et en fasse la remarque Link to post Share on other sites
Soulfly_tribe90 Posted October 13, 2007 Share Posted October 13, 2007 J'avais pas fait gaffe effectivement Link to post Share on other sites
Space Posted November 9, 2007 Share Posted November 9, 2007 Je ne l'ai pas vu en Ti basic. (le langage pour les calculatrices Texas Instruments) Donc le voilà: Disp "HELLO WORLD" Link to post Share on other sites
m00t Posted November 9, 2007 Share Posted November 9, 2007 Et en LolCode ça a été posté ? HAI CAN HAS STDIO? VISIBLE "HAI WORLD!" KTHXBYE http://lolcode.com/ Link to post Share on other sites
Quarky Posted November 9, 2007 Share Posted November 9, 2007 Ajoutés Link to post Share on other sites
Space Posted November 9, 2007 Share Posted November 9, 2007 Et en LolCode ça a été posté ? HAI CAN HAS STDIO? VISIBLE "HAI WORLD!" KTHXBYE http://lolcode.com/ Ca avait été mis là: http://www.pcinpact.com/forum/index.php?s=...t&p=1862039 ^^ Link to post Share on other sites
Quarky Posted November 9, 2007 Share Posted November 9, 2007 ... mais il était pas en 1er post Link to post Share on other sites
gaboo_bl Posted November 16, 2007 Share Posted November 16, 2007 En francais:Bonjour le monde Encore plus simple, en anglais: Hello world! -> Link to post Share on other sites
Quarky Posted November 16, 2007 Share Posted November 16, 2007 Pas mal le quote de 3 ans Link to post Share on other sites
Zup Arkhen Posted December 1, 2007 Share Posted December 1, 2007 Langage Ruby puts "Hello World" Link to post Share on other sites
jojodu75 Posted January 8, 2008 Share Posted January 8, 2008 C'est quoi ce truc Link to post Share on other sites
kyro Posted January 8, 2008 Share Posted January 8, 2008 <?xml version="1.0" encoding="ISO-8859-1" ?><window title="Hello world" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <description>Hello world</description> <label value="Hello world" /> </window> XUL Link to post Share on other sites
Auze Posted January 30, 2008 Share Posted January 30, 2008 En MS SQL (2K) Set quoted_Identifier On Go Set Ansi_Nulls Off Go Create PROCEDURE helloWorld As BEGIN Print 'Hello World' End Go Set quoted_Identifier Off Go Set Ansi_Nulls On Go Link to post Share on other sites
Obi Yann Posted February 15, 2008 Share Posted February 15, 2008 Bash: echo Hello World! Smalltalk (Dans squeak): Transcript show: 'Hello World!' . Link to post Share on other sites
Zabuza66 Posted June 15, 2008 Share Posted June 15, 2008 Je ne sais pas si ça a été dit, mais en php echo "Hello World!";, c'est clairement pas à faire. echo 'Hello World!'; l'usage des " est plus lent, puis-ce que le moteur php va analyse d'éventuelles variables présentes dans ces guillemets ;P Link to post Share on other sites
theocrite Posted June 16, 2008 Share Posted June 16, 2008 En même temps un test rapide me donne : time php test.php >- real 0m0.259s user 0m0.088s sys 0m0.128s avec les doubles guillemets et time php test.php >- real 0m0.260s user 0m0.088s sys 0m0.172s avec les simple guillemets. Le source de test.php : <? for ($i=0; $i<100000; $i++) echo "Hello World"; ?> Donc en gros tu es en train de nous dire que tu va éventuellement gagner quelque chose de l'ordre du centième ou du millième de seconde sur cent mille print. Sacré optimisation. Et encore dans le cas présent, c'est le contraire, ce sont les double guillemets qui sont plus rapides. Link to post Share on other sites
Zabuza66 Posted July 1, 2008 Share Posted July 1, 2008 En même l'idée sur une partie d'un forum dédiée à la programmation c'est peut être de partir sur des bases saines. Le Hello world sert simplement de base "mythique" à tous les langages de progs, comme l'utilisation du <?php au lieu du <?, dépendant de la configuration du fichier php.ini L'utilisation du ' est plus rapide que pour le " s'il y a le signe $ ( propre aux variables ) par exemple. Après un code complet de plusieurs milliers de lignes fonctionnera parfaitement, même s'il est mal optimisé... sauf pour un site visité.. Link to post Share on other sites
ouragan Posted July 12, 2008 Share Posted July 12, 2008 Et en D ? ça donnerait quelquechose comme ça. import std.stdio:writefln; void main(string[] args) { writefln("Hello World, Reloaded"); } Link to post Share on other sites
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now