Search:

Type: Posts; User: mariostg

Search: Search took 0.23 seconds.

  1. Thread: RECURSION

    by mariostg
    Replies
    5
    Views
    611

    Re: RECURSION

    You are probably missing an exit condition. Show the codes you have.
    In a nutshell:

    if condition is met
    return
    else
    call function again
  2. Replies
    3
    Views
    293

    Re: What do you call this area in java?

    I guess you could call it a canvas.
  3. Replies
    1
    Views
    330

    Re: Polygon "Fixing" Algorithm

    You should search the web for mouse gesture recognition or detection. If you provide some code or even some pseudo-code, I am sure you will get come feed-back from people.
  4. Replies
    4
    Views
    397

    Re: Need help with college work!!

    Normally people are more enthusist in helping if you try to either provide some basic answer or thoughts about the given problem. Particulary when it comes to concepts like those that are fairly...
  5. Replies
    2
    Views
    246

    Re: employe payroll

    next() family of functions read up to the next space. So if your full name is made up of first + last name, only the first will be read, last name remains in the buffer until the following next()...
  6. Replies
    2
    Views
    182

    Re: Overloading a method

    If I follow your logic correctly...
  7. Replies
    4
    Views
    269

    Re: type of technology to develope a site

    If for learning purposes, pick something you don't know.
    If for production purposes, pick someting you are comfortable with.
    In either case, consider the requirement/constraints of the projects....
  8. Re: Reading data from a file into parallel arrays

    Of course, because for each loop turn, you still read two lines... Do you see the TWO calls to nextLine()
    Remove one of them as shown below and see what happens it might help you understand.

    ...
  9. Re: Reading data from a file into parallel arrays

    It is not the number of lines in your file being scanned that drives the number of loops. It's the conditions in the for loops. Well unless you have a break condition in the loops.
    If the...
  10. Re: Reading data from a file into parallel arrays

    char characs = input.nextLine().charAt(0); //This read a line
    String syms = input.nextLine(); //This reads another line

    Given your input format, I would read a line, then split it in two using...
Results 1 to 10 of 10