An Online Compiler and Debugging Tool


Over the couple of weeks I have come across a nice online plateform which I have been using for editing, compiling and running my codes and I would like to share it with you so that you may also get benifit from it.

The plateform name is Idone.The brief  and concise introduction as stated on the official site of Idone is

Ideone is an online compiler and debugging tool which allows you to compile source code and execute it online in more than 60 programming languages.

It is very simple yet very powerful    ID tool (should I say tool or site. Lets stick to tool as it makse more sense because of its function).

How to use it?

There are four simple  steps:

1. Enter your code

2. Enter the input (if your code requires any user input)

3. Compile it

4.Run it

The features

This online Id tool has many strong features as any offline tool . Some are discussed here.

1. Self  Indentation

Yes it does the indentation unless you force it to write poor formated code

2. Syntex highlighting

If you mark the syntex highlight box it will number the lines of codes, highlight the functional part of the codes with different colours which looks cool than the black and white text lines.

3. Easy Debugging

If there is any error in your code it will guide you straight to the line of the code where the error is and also will suggest you the required correction.

4. User Input and Output Feature

The most interesting part of the code for me is to be able to give the user input during execution. Idone takes the user input but the only difference with offline tools is that you have to give the input in the input box at beginning of the compilation unlike the offline tool where the compilor ask for input when it reaches at the line of code which ask for the user input. But yet this is good.

The output of the code is shown in the standard output tab.

Other than these there are many other features like download your code etc.

I hope you will find many other features of it once you try it as I too still in exploration of  this great tool.

Happy coding!!!

 

Advertisements

Fun coding


Last week I had come across the ‘An hour coding’ on khan academy  and it helped me get back to coding. I had cread some cool drawings on the plateform and then I continued this using java how to program book and luckyly I had no work load in office since last couple of weeks so every thing was a favopur of coding for me. Today I did this coding and I really enjoy it when I see the output.:-D

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be “Main” only if the class is public. */
class arrayTest {
public static void main(String [] args){
 double[] myList= {12.0,6.5,7.5,5.0,2.5,10.0,20.0};
 for(int i =0; i<myList.length;i++){
  System.out.println(i + “:” + myList[i] );
 }
 double total = 0;
 for(int j= 0;j<myList.length; j++){
  total+=myList[j];
 // System.out.println(“Total is ” + total);
 }
 System.out.println(“Total is ” + total);
}
}

I hope this time it will continue.

Lastly I would like to recomment ideone for all those who want to do coding but don’t like or know how to install the compilors. This is really cool plateform to edit, compile and run your codes in any language.