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
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


