Tags » Source Code

Jake Gyllenhaal and Rachel McAdams' Best Performances

On Friday, Jake Gyllenhaal and Rachel McAdams’ new film “Southpaw” will be released.  Critics are already raving over Jake and Rachel’s performances, even though Rachel’s role is somewhat small.   484 more words

Film

Multiple Git Identities & SSH

Having multiple Git configurations is inevitable for the busy developer.  It is likely a good thing (you are using version control in multiple settings).  However, setting your development workstation for multiple git accounts can be difficult.   1,569 more words

Coding

Movie Recommendations: #65

Source Code(2011)

Director: Duncan Jones

Starring: Jake Gyllenhaal,Michelle Monaghan.

Source Code is a science-fiction thriller film which explores the concepts of alternate realities and time-travel. 102 more words

Movies

A little puzzle game with OpenFL

I found a puzzle game I made a while ago. I decided to post it here along with its code, in case anyone wants to see it. 114 more words

Haxe

Java program to calculate length of a string and Reverse of a String

Hello everyone .This is a java source code to calculate length of a string and its reverse .


import java.util.Scanner;
class StringRevLen
{
public static void main(String arg[])
{

Scanner cin = new Scanner(System.in);

int op;

int count,i;
System.out.println("Enter a string");
String s = cin.nextLine();
int j=0;
do{

char ch[] = s.toCharArray();
count=ch.length;
i=count-1;
System.out.println("Enter 1 to Calculate Length of String");
System.out.println("Enter 2 to Find reverse of string");

System.out.println("Enter 3 to Exit");
op = cin.nextInt();
switch(op)
{
case 1:
System.out.println("The length of string is : "+count);
break;
case 2: char ch1[]=new char;
while(i>=0)
{
ch1[j]=ch[i];
i--;
j++;

}
System.out.print("The Reverse of "+s+ "is : ");
for(j=0;j<count;j++){
System.out.print(ch1[j]);
}
System.out.println("");
break;

case 3: System.exit(0);
break;

}
}while(op!=3);

}

}

Harshwardhanmuktawat

Java Program to print a number from 1 to 999 in words.

Hello everyone. This is a program for printing a number from 1 to 999 in words format . For e.g if you enter 456 then it should display four hundred fifty six. 469 more words

Harshwardhanmuktawat

Java Program to display a series .

This is a code to display the following series :

1

2   4

3   6   9

4   8   12   16

5   10  15   20   25… 89 more words

Harshwardhanmuktawat