Free Ideone API
try it now!
Your great ideas will be born here
Recent public pastes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C99 strict
- CLIPS
- Clojure
- COBOL
- COBOL 85
- Common Lisp (clisp)
- D (dmd)
- Erlang
- F#
- Factor
- Falcon
- Forth
- Fortran
- Go
- Groovy
- Haskell
- Icon
- Intercal
- Java
- JavaScript (rhino)
- JavaScript (spidermonkey)
- Lua
- Nemerle
- Nice
- Nimrod
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- Tcl
- Text
- Unlambda
- Visual Basic .NET
- Whitespace
-
1 2 3 4 5 6 7 8 9
public class TestDays { public static void main(String[] args) { Animal animal = new Dog(); Cat cat = (Cat)animal; System.out.println(cat.noise()); } } class Animal { public String noise() {return "peep";}
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> #include <assert.h> using namespace std; int LocalOrDiverging( char arr[], int size ) { int rCounter = 0; for ( int i = 0; i < size; i++ ) { if ( arr[i] == 'R' ) { rCounter++;
...
-
1 2 3 4 5 6
#include <iostream> using namespace std; int main() { cout << "hello world"; }
-
1 2 3 4 5 6
include <iostream> using namespace std; int main() { cout << "hello world"; }
-
1 2 3 4
int main() { cout << "hello world"; }
-
1
cout << "hello world"
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; #include <stdio.h> #include <string.h> #include <ctype.h> void toupper(char a[]) { int i,len=strlen(a); for(i=0;i<len;i++)
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; #include <stdio.h> #include <string.h> #include <ctype.h> void toupper(char a[]) { int i,len=strlen(a); for(i=0;i<len;i++)
...
-
1 2 3 4 5 6 7 8 9
global _start section .data buffer dw 0h section .text _start: mov ecx, buffer
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; #include <stdio.h> #include <string.h> #include <ctype.h> void toupper(char a[]) { int i,len=strlen(a); for(i=0;i<len;i++)
...
-
1 2 3 4
void main(string[] args) { char[] test = ""; }
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; #include <stdio.h> #include <string.h> #include <ctype.h> void toupper(char a[]) { int i,len=strlen(a); for(i=0;i<len;i++)
...
-
1 2 3 4 5 6 7 8 9
public class Hello { public static void main(String[] args) { BufferedReader dataIn = new BufferedReader (new InputStreamReader( System.in) ); String 1 = ""; System.out.println("Please enter your name:");
...
-
1 2 3 4 5 6 7 8 9
import java.security.SecureRandom; class Main{ private static SecureRandom random = new SecureRandom(); private static String alpha = "1234567890 azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQSDFGHJKLMWXCVBN"; public static String genpass (int length){ String pass = ""; for (int i=0; i<length; i++){ int idx = random.nextInt(alpha.length()); pass += alpha.charAt(idx);
...
-
1 2 3 4 5 6 7 8 9
public class Hello { public static void main(String[] args) { BufferedReader dataIn = new BufferedReader (new InputStreamReader( System.in) ); String 1 = ""; System.out.println("Please enter your name:");
...
-
1 2 3 4 5 6
#include <stdio.h> int main() { printf("sen naber"); }
-
1 2 3 4
int main() { printf("sen naber"); }
-
1 2 3 4 5 6 7 8
public class c{ int i = 0; static void main(String[] args ){ System.out.println(10); } }
-
1 2 3 4
int main() { cout << "test"; }
-
1 2 3 4
int main() { }
-
1
pirntf("guvener");
-
1 2 3 4
void main(void){ int a = (int)'ã'; printf("ola=%d",a); }
-
1 2 3 4
void main(void){ int a = (char)'ã'; printf("ola=%d",a); }
-
1 2 3 4
void main(void){ int a = char('ã'); printf("ola=%d",a); }
-
1 2
int i = 0; system.out.println(i+10);
-
1 2 3 4
void main(void){ printf("ola"); }
-
1
let fac n = if n == 0 then 1 else n * fac (n-1)
-
1 2 3 4 5 6 7 8 9
public Student { private String name; private int id; public Student(String ename,int ids) { name = ename; id = ids;
...
-
1 2 3 4 5 6 7 8 9
public Class Student { private String name; private int id; public Student(String ename,int ids) { name = ename; id = ids;
...
-
1 2 3 4 5 6 7 8 9
public class Student { private String name; private int id; public Student(String ename,int ids) { name = ename; id = ids;
...
