[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: [linux-team] Humour :"Hello World"
mercredi, mercredi 6 octobre 1999, vous avez écris:
> On Wed, 6 Oct 1999, Pascal Bleser wrote:
>> On Wed, Oct 06, 1999 at 09:59:04AM +0200, Pascal A. Dupuis wrote:
>> > On Tue, 5 Oct 1999, Damien Cornet wrote:
>> > > Enoncé : Le but de la manipulation est d'écrire un programme qui
>> > > affichera "HELLO WORLD" à l'écran.
>> > Dinosaure atypique :
>> > echo | awk '{print "HELLO WORLD";}'
>> Sans "echo" quand même :)
>>
> Ah, ben si, justement. awk attends un nom de programme, et par défaut lit
> stdin. Donc, sans echo, on a :
> awk '{print "HELLO WORLD";}' ""
> [taper sur Enter]
> HELLO WORLD
> [^D]
>> (programme terminé)
>> > Il manque dans la liste :
>> > -programme sous Win32
>> alors là, tu n'espères quand même pas que je vais vendre mon âme
>> juste pour faire un hello world ;-)
>>
> Je trouve amusant le point d'entrée d'un programme sous Win32. Si je me
> souviens bien, cela ressemble à:
> int far Pascal winmain(hInstance PreviousInstance, hInstance Instance)
> ou quelque chose comme cela. Que les puristes me corrigent.
Sous Linux, sous X, ca donne quoi?
Tiens... un truc amusant... sous BeOS? :-)
www.multimania.com/orban
Don't be stupid, be paranoid!
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/