Wednesday, October 22, 2008

How To Hack Pokemon On Mac

Example Vector Linux 2008 National Meeting in

has finally arrived on the Ninth Meeting UdeC Linux really I am pleased to participate in this event.

The meeting will be held on 22, 23, October 24 (
more information.) For
behind or those unable to attend for work ... may attend on Saturday 25 to Gnome Day also

UdeC
http://live.gnome.org/DiaGNOME For more information visit.

x Jlara


Sunday, October 19, 2008

1950's Women In Corsets

UdeC Vectors, Arrays, Arrays or whatever you call ....

I always thought that one of the concepts we learn in any language has programming arrangements or vectors are even more so when we are mere apprentices and we do not have any basis solid knowledge in this. In Java an array is a set of variables (called elements or components) that stores values \u200b\u200bof the same type. (More

).



The following example is taken and adapted from the book
" How to Program JAVA" fifth edition of Deitel

I had the opportunity to purchase this great book and really good (the publisher been reduced by 40%).

/ / Creating an array
/ / http://geekslinuxchile.blogspot.com/
/ / Adapted from the book "How to Schedule Java "Deitel


{public class under public static void main (String args []) {
int array [];
/ / Declare the reference in accordance arregl0 = new int [10]; / / Create under
String output = "Index \\ tValor \\ n";


/ / append each string elemntos the output under for (int counter = 0; output + = counter counter + "\\ t" + array [counter] + "\\ n";
System.out.println (output);

}}




As we do not assign any value to the array elements each element is printed with a default value (in this case 0).




(Soon .... will continue with the manual)
x Jlara < arreglo.length; contador ++ )



Thursday, October 16, 2008

Free Angel Blade Episodes

Learning JAVA Programming in JAVA




One of the programming languages \u200b\u200bthat always caught my attention is
JAVA
for portability and is also multi pltaforma.
is why in this section I'll upload all my progress in this language ... not promise much as I am starting from scratch.

will use Java in Ubuntu 8.04 in a graphical environment to see how to install XFaces java visit the following link in this block (JDK on Linux Installing
) Creating our first program (Hello World)


NOTE: Save file with the same name and extension class. java (
HelloWorld .
java) Compile javac
holaMundo.java
run java HelloWorld


(always follow this sequence with all the examples)



/ * First year of Java
http : / / geekslinuxchile.blogspot.com / Author: Jorge Lara Cravero * /

import javax.swing .*; public class HelloWorld {public static void main (String [] args) { String message = "Hello World"; JOptionPane.showMessageDialog (null, message, "Hello, World!" JOptionPane.INFORMATION_MESSAGE) System . exit (0);
}}














This second script looks for a letter or word in a string


Include the class Input / * Jorge Lara Cravero
http://geekslinuxchile.blogspot.com/ * /

{public class

seek public static void main (String args []) {


Input data = new Input ();
(".... Enter string System.out.println ....") ;
dato.getValue letters = String ();

sentence ...."); System.out.println (".... Enter
dato.getValue String phrase = ();

String output = "is at index "+ letras.indexOf (sentence); System.out.println (output);

}}
code runs as follows:









If


note I wrote

Jorge Lara and I find the word in lower case
lara







Obviously Lara! = lara
Note: images correspond to a more complete code because if you review the example all the console will

addition if you want your system says it is not! should be made a condition if - else considering that when the word is not the system will throw a -1

would be something like int a = letras.indexOf (sentence); if (a == -1 ) guess what happens

guess what else happens


x Jlara