eiffelroom

articleHello World

juliant's picture

The typical hello world program in Eiffel.

To compile it create a file called hello_world.e with the following content:

class HELLO_WORLD

create
  make

feature

  make
      -- Program entry
    do
      print ("Hello World!")
    end

end

If you have installed EiffelStudio you can now open the command line in the directory of the file and type the following command to compile it:

ec hello_world.e

ArchivesSize
hello_world.zip1.6 KB
Contents
hello_world/build.eant381 bytes
hello_world/example.ecf343 bytes
hello_world/hello_world.e126 bytes
hello_world/readme.txt542 bytes
hello_world/system.xace324 bytes
about - contact