Compiling and Running Guide

          The compiling guide I provided is one of how to compile the programming language. There is always more than one to compile it, but the one I will show here is the one which I use to compile it in my computer. Plus, since it has been installed in long time, I might forget some stop.


Ada
1. With Command Prompt

a. Install MinGW
b. Include Ada library (when in installation)
c. (Be careful with this step, take your own risk) Open Control Panel > System, open Advance tab, press Environment Variables, input C:\Program Files\Java\jdk1.6.0_21\bin; (depends on the path of the bin)

d. Use command gnat make <file name>.adb (without < or >)
e. Use command <file name in .exe> to run it

Assembly

A. For MISP
1. With PCSpim
a. Open pcspim.exe
b. Choose File>Open, choose .s or .asm file
c. Press F5 to run it
Note: It might need some setting in Setting in Simulator


C
1. With Command Prompt
a. Install MinGW
b. Include C library (when in installation)
c. 
(Be careful with this step, take your own risk) Open Control Panel > System, open Advance tab, press Environment Variables, input C:\Program Files\Java\jdk1.6.0_21\bin; (depends on the path of the bin)

d. Use command gcc <source codes in .c> -o <output name> (without < or >)
e. Use command <file name in .exe> to run it  


C#
1. with Microsoft Visual C#

a. Install Microsoft Visual Studio C#
b. Press F5 to run it


2. with Command Prompt
a. Install Microsoft Visual Studio C#
b. (Be careful with this step, take your own risk) Open Control Panel > System, open Advance tab, press Environment Variables, input C:\Program Files\Microsoft Visual Studio <version>\SDK\v<version number>\Bin; (depends on the path of the bin)
c. Use command csc /out:CFB.exe <file names in .cs> (without < or >) to compile it
d. Use command <file names in .exe> (without < or >) to run it

C++

1. With Command Prompt
a. Install MinGW
b. Include C++ library (when in installation)
c. 
(Be careful with this step, take your own risk) Open Control Panel > System, open Advance tab, press Environment Variables, input C:\Program Files\Java\jdk1.6.0_21\bin; (depends on the path of the bin)

d. Use command g++ <source codes in .cpp> -o <output name> (without < or >)
e. Use command <file name in .exe> to run it 


Java
1. Using Command Prompt
a. Install Java libraryb. (Be careful with this step, take your own risk) Open Control Panel > System, open Advance tab, press Environment Variables, input C:\Program Files\Java\jdk1.6.0_21\bin; (depends on the path of the bin)

c. Use command javac < file name with .javac > (without < or >) to compile it
d. Use command javac < file name  with .class > (without < or >) to run it


A. JSP (Java Server Pages)
a. Install Xampp
b. Go to C:\xampp\tomcat, run catalina_start.bat
c. Put jsp page in C:\xampp\tomcat\webapps\ROOT
d. Compile <filename>.java to obtain <filename>.class (be sure in java package)
e. Create C:\xampp\tomcat\webapps\ROOT\WEB-INF\classes folder (if not exists yet)
f. Put java package and <filename>.class there in "C:\xampp\tomcat\webapps\ROOT\WEB-INF\classes"
g. Open jsp file in browser (open with browser)
h. Change "file:///C:/xampp/tomcat/webapps/ROOT/" into "http://localhost:8080/"

Javascript
1. Use any browser. Note: Each browser has different compatibility


PHP
1. with XAMPP

a. Install XAMPP
b. Open xampp-control.exe (If not opened yet)
c. Put your php/web files in \xampp\htdocs
d. Open it with any browser.
e. Replace "file:///C:/xampp/htdocs/" with localhost/
f. Refresh the page


Python

1. With Command Prompt 
a. Download Python library 
b. Install it
c. Use command python <file name in .py> (without < or >)

Ruby

1. With Command Prompt 
a. Download Ruby library 
b. Install it
c. Use command ruby <file name in .rb> (without < or >)


A. External: Shoes
1. With Shoes
a. Install Shoes
b. Open shoes.exe
c. Select Open An App. .
d. Select ruby file which use Shoes