User Tools

Site Tools


hello:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
hello:start [2016/07/06 17:59]
marina created
— (current)
Line 1: Line 1:
-Whenever you want to get started with a new language (in our case Eiffel) or an Integrated Development Environment (in our case, EiffelStudio),​ one always tries to run the simplest possible program - one that prints out “Hello World”. ​ 
  
-In Java you need 
-  
-(a) the hello_world.java code  ​ 
- 
-(b) the variable CLASSPATH must be set correctly so that the Java runtime will find your classes and the basic pacakges to compile your program. 
- 
- 
-In Eiffel you also need 
-  
-(a) the hello_world.e file with the Eiffel code as well as  
- 
-(b) a *.ecf file that tells the Eiffel compiler (called ec) where to find your files as well as all the libraries (such as the base library) that your code will be using. ​ 
- 
- 
-Here are the contents of hello_world.e: ​ 
hello/start.1467827979.txt.gz · Last modified: 2016/07/06 17:59 by marina