Update again:
Vote (FINISHED):
/**
* Represents a single vote and it's preferences
*
* Thomas Bruining
* v1.0
Type: Posts; User: bruint
Update again:
Vote (FINISHED):
/**
* Represents a single vote and it's preferences
*
* Thomas Bruining
* v1.0
ok. So I've worked on it a bit more with my friend who's done the course before (But a completely different project)
Vote:
/**
* Represents a single vote and it's preferences
*
* Thomas...
haha, no, you've been a ton of help *clicks thanks*
Thanks very much. Be back here soon enough:)
probably use the charAt [0], charAt[1], etc. to find which each is equal to and store each as a Char variable and then compare them to each new vote in the list seperately by using a loop that ends...
right and that would be done by say...
FileIO.lines[] = lines[]
Or something? Which would just copy the array over?
the Vote class takes from a text file, one line of letters say:
ACBDE
This represents one individuals vote.
A is one candidate, B is another, C is another, etc.
The vote class checks that it...
Hi JavaPF, thanks for getting back to me. But whilst I understand the structure of Java programs, I just don't know where to start in regards to what I need to do to go about taking what I get from...
Apologies for the double post, but I needed to bump this.
I still don't know where to start. Any help, is very much appreciated.
Just focussing on the vote class at the moment.
Included in the project:)
Hi, so this is my final assignment for the semester so I thought I would setup a thread for it now because I will probably need a fair bit of ongoing help. (Thank you in advance to anyone that does...
*sigh* Alas, I'm underage also. I was working on the basis that my brother would buy the virtual beers for me.
Thanks a ton mate. Honestly, I owe you like a virtual beer or something.
I'll most likely be back here in a couple of minutes when I run into my next problem.
ok, so I'm realllyyyyy stuck at the moment. I started coding something, but I've realised that I've done it all wrong and now I literally have no idea where to start.
I'm not asking anyone to write...
Now I get it:) Thank you very very much.
Drawing up a table isn't really required, I understand the concept of 2D Arrays (You are right I am new, haha) but I'm having trouble understand how I can get each of these numbers that I've input...
Ha!, already stumped myself.
How can I get an integer from an Array and store it as a variable?
This was my intention of:
x = initialGrid.length;
y = initialGrid[x-1].length;
Ahhhh Chris, you bloody legend. it was indeed {{3,2}}, now I just have to work out the rest of it:D Much thanks. I'll definately be back here if I can't work anything out.
No, it occurs after compiling. I'm not exactly what the proccess is called, but on a guess, it's sort of like invoking a constructor from a class, and then the user can input the numbers, string,...
Chris, I've edited my code as you said. But Im still getting the identifier problem when I try to run my own constructor (A requirement for my lecturer - he marks with an automated script)
Your...
I'm compiling in BlueJ fine. They are 2 seperate classes (as im sure you already know) which class in particular is not compiling?
Thanks very much. Any help is greatly appreciated:) Hope to hear from you soon.
Thanks Chris, I've posted the SimpleCanvas code as requested. :)
I've worked on it a little more, but I'm still getting an <identifier> problem...please, any help is very very much appreciated :)
New Code:
public class FifteenPuzzle {
//Instance...
So I'm writing a program for a puzzle for my University Lab, but I run into a problem when I try to input 2 integers when constructing. Here's my full code (not nearly completed but still, I work in...
Hi everyone, I was hunting for a good forum to give my input and recieve a bit of help (First University Computer Science Student). This was the one I found :)
So hi!