Search:

Type: Posts; User: omgitztmarie

Search: Search took 0.21 seconds.

  1. Replies
    1
    Views
    183

    Binary Search Algorithm

    I am trying to make a program that compares the 3 different search algorithms(sequential/binary/hashing). I have already made the sequential search algorithm, but need help with the binary and...
  2. Replies
    15
    Views
    253

    Re: text file array help

    Ok NORM, I tried what you suggested and once again, it did not work. I tried putting the println() statement after my ReadFile() method in my FiveInARow.java class but that did not work. (BETWEEN THE...
  3. Replies
    15
    Views
    253

    Re: text file array help

    Thanks for responding. Where would I put this in my code?
    System.out.println("an ID "+ java.util.Arrays.deepToString(theArrayNameHere));

    --- Update ---

    Ok well I tried this in my ReadFile...
  4. Replies
    15
    Views
    253

    Re: text file array help

    I am supposed to use the readFile method. Not deepToString. Ive been stuck on this for days now. Ive been all over the internet & back trying to figure this out. And once again, I am back here hoping...
  5. Replies
    15
    Views
    253

    2D Array - Read from .txt HELP!

    Hello All,

    I am stuck on my assignment and It is due very soon. :confused:


    Assignment: Develop a GUI-based program to read the entries of a matrix from a text file. The first number is the...
  6. Replies
    15
    Views
    253

    Re: text file array help

    Here is the edited code. I deleted the tag color assignments at the end. So this can work.
    CLASS:

    // GUI-related imports

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;...
  7. Replies
    15
    Views
    253

    Re: text file array help

    Ok NORM, for example when I click "Read Data" in my menu, it opens my file usccessfully. However when I click "Process" in the menu, I get an array of 0's back in return. When I am supposed to get...
  8. Replies
    15
    Views
    253

    Re: text file array help

    YES, I do.
    1)My Process method isnt working and displaying the .txt file I opened.
    2) I dont know how to correctly create the "tags" my teacher specifies to make each # tag represent a color.
    3)...
  9. Replies
    15
    Views
    253

    read file into matrix

    Hello All,

    I am stuck on my assignment and It is due tonight @ midnight. I am so stressed about it, and need some help, I really tried all I can do with it, and need some assistance.

    ...
Results 1 to 9 of 9