hello, world

12 September 2005 | Programmation

Langage C# (2000)
Anders Hejlsberg / Microsoft

using System;  

class HelloWorld
{
    public static void Main( string[] args )
    {
        Console.WriteLine( "hello, world" );
    }
}

Langage C++ (1983)
Bjarne Stroustrup / AT&T Research

#include <iostream> 

int main()
{
    std::cout << "hello, world" << std::endl;
}

Langage C (1972)
Brian Kernighan et Dennis Ritchie / Bell Labs

#include <stdio.h> 

int main( void )
{
    printf( "hello, world\n" ); 

    return 0;
}

Poster un commentaire