Does this count as a single if statement or two?
if (condition){
statement
}
else if (condition){
statement
}
else{
Type: Posts; User: Scottj996
Does this count as a single if statement or two?
if (condition){
statement
}
else if (condition){
statement
}
else{
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...
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...
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
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...
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...
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...