Search:

Type: Posts; User: vviston

Search: Search took 0.26 seconds.

  1. Replies
    5
    Views
    212

    Re: TCP JAva Server - Username, Password

    I think Scanner(System.in) doesnt solve my problem. I am connected via command line in windows and i am sending commands.
  2. Replies
    5
    Views
    212

    Re: TCP JAva Server - Username, Password

    I just start the server and connect to it using windows command line: telnet localhost <portnumber>. I have no GUI. I just ned to know, how to get username and password from command line and save it...
  3. Replies
    5
    Views
    212

    TCP JAva Server - Username, Password

    Hi, i would like to add 2 methods. Username and password. Client enter the username into the command line and server saves it. Then client enter the password. The password should be sum of ASCII...
  4. Replies
    3
    Views
    138

    Re: TCP Java Socket Server

    It works now ! :) The parametr Socket s shouldnt by there :)
  5. Replies
    3
    Views
    138

    TCP Java Socket Server

    Hi, i wrote this code, but when i connect via telnet, the server gives me no response :/ Please help ?

    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;...
  6. Replies
    3
    Views
    537

    Re: B-Tree implementation

    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
    at java.util.ArrayList.elementData(ArrayList.java:371)
    at java.util.ArrayList.get(ArrayList.java:384)
    at...
  7. Replies
    3
    Views
    537

    B-Tree implementation

    Hi, i have passed my exam from java programming, but i have to solve one more homework. Its about B-tree implementation :/ i dont really know, how to do it. I have a few lines of code but its no...
  8. Replies
    4
    Views
    539

    Re: How can I add two data arrays ?

    My problem is, that it doesnt work...i just want add two arrays and save it to the new array. And i dont know how i can use this function with the specific numbers ?
  9. Replies
    4
    Views
    539

    How can I add two data arrays ?

    public static int[] arrayAdd(int[] p, int[] q) {

    for (int i = 0; i < p.length; i++) {
    for (int j = 0; j < q.length; j++) {
    int add [] = p[i] + q[j];...
  10. I need join my code with the main metod, but i dont know how.

    package du1;

    import java.util.Scanner;

    public class Du1 {

    /**
    * Zde je metoda resici problem faktorialu
    * Doplnte spravne obsah metody.
    */
Results 1 to 10 of 10