Search:

Type: Posts; User: Scottj996

Search: Search took 0.30 seconds.

  1. Replies
    1
    Views
    713

    If statements

    Does this count as a single if statement or two?


    if (condition){
    statement
    }
    else if (condition){
    statement
    }
    else{
  2. Replies
    1
    Views
    2,944

    Multiple JFrames

    Hi,

    I am building a GUI for a small game currently run on the command line. It is a client server game. I currently have two different JFrames in two different methods. One to connect to the...
  3. Replies
    1
    Views
    723

    Converting an array

    Not sure if this is in the right place but heres my problem.

    I have a char 2D array. I want to convert the values in this array to an int array using some form of dictionary.

    for example
    A = 1...
  4. Replies
    4
    Views
    1,491

    Re: Splitting File into Array

    Thanks for the replies. this has helped alot.

    Does anyone know how to omit the first two lines from the input text file every time? As i do not want these in the array.

    Scott
  5. Replies
    4
    Views
    1,491

    Splitting File into Array

    Hi,

    Basically I have a text file that I want to read line by line (I have this bit working) and write it to an array.

    However I want the data from the text file to be split after every...
  6. Replies
    0
    Views
    4,153

    Run Length Encoding Problem

    Hi,

    I have written this run length encoding program to compress files. However when it is run, it is outputting each individual character with the occurrence, therefore making the file size...
  7. Replies
    1
    Views
    1,003

    Writing Output To New File

    Hi,

    Basically I have been given the task of writing a basic compression program. So far I have got what I want to print to the screen. All I need to do now if write it to a new file.

    I know...
Results 1 to 7 of 7