[Ilugc] Executing C and Java

  • From: anjeas_net@xxxxxxxxx (Ashok Antony)
  • Date: Tue Jun 29 12:09:31 2004

Compiling 'C' programs

you should have 'cc' or 'gcc' compiler in your system

If you have that one you do as follows:
gcc|cc filename.c

this will create the a.out file then in the command
line
just type

$a.out

It will execute the file


Compiling Jave programs

your system should be installed with 'java' and
'javac'

then do as follows

$javac filename.java

To run the executable file

$java filename

If you have any problem further please mail me Thanx


                
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo ;

Other related posts:

  • » [Ilugc] Executing C and Java - Ashok Antony