Forum: Computer Science Mar 1st, 2009 |
| Replies: 2 Views: 435 Ask in the Databases forum?? |
Forum: Java Mar 8th, 2008 |
| Replies: 5 Views: 931 you could use:
if( ln.charAt(0).equalsIgnoreCase( 'a' ) )
blah; |
Forum: Java Mar 7th, 2008 |
| Replies: 2 Views: 459 someone/anyone? even to confirm that its right? |
Forum: Java Mar 7th, 2008 |
| Replies: 2 Views: 459 Hi all, ain't been here in a while, busy busy busy with college...
I have an assignment on threads for Operating Systems, I can't actually see how it relates to OS but it is thread based, I... |
Forum: Java Jan 12th, 2008 |
| Replies: 8 Views: 5,120 Lol, my mistake, thats it right there. |
Forum: Java Jan 12th, 2008 |
| Replies: 8 Views: 5,120 ive an abacus if you want one |
Forum: Java Jan 11th, 2008 |
| Replies: 8 Views: 5,120 Well the basic way of getting time in a program is to use
long x = System.getCurrentTime();
which returns the current time of the computer in milliseconds.
Anyone with a brain could figure... |
Forum: Java Dec 31st, 2007 |
| Replies: 3 Views: 6,445 ie:
String s = "whatevernuber";
double d = Double.parseDouble(s); |
Forum: Geeks' Lounge Dec 7th, 2007 |
| Replies: 21 Views: 2,036 No they don't. We tried to sell one of my mates. You're not allowed sell people. |
Forum: Java Dec 6th, 2007 |
| Replies: 25 Views: 2,337 Im back again!!! Right my frequency analysis program works. So based on this, I have a Button class that takes an [] of letters, and assigns them to a [][]. Now my frequency analysis works, and based... |
Forum: Java Nov 29th, 2007 |
| Replies: 9 Views: 1,988 |
Forum: Geeks' Lounge Nov 29th, 2007 |
| Replies: 39 Views: 3,258 cover yourself in sugary water |
Forum: Geeks' Lounge Nov 29th, 2007 |
| Replies: 86 Views: 7,644 My Smax list:
1. RockShox Argyle 318 fork
2. Evil Imperial SL frame
3. HTC TYTN 2 Phone
4. A working chain for my road bike. |
Forum: Geeks' Lounge Nov 29th, 2007 |
| Replies: 21 Views: 2,036 Stick it under an extremely wobbly table to add stability. |
Forum: Java Nov 29th, 2007 |
| Replies: 9 Views: 1,988 This is a not as messy solution, one loop, one trial, coupla Scanners created, but thats ok ( while it's not really good practice ), its ok because java gets rid of any variables that aren't... |
Forum: Java Nov 29th, 2007 |
| Replies: 25 Views: 2,337 Thanks I'll have a look at that later hen I get home, here's what I have for now, just a prog to analyse the frequencies letters of a text file, and a Letter data type, which holds a letter and its... |
Forum: Java Nov 27th, 2007 |
| Replies: 25 Views: 2,337 I never said it wasn't lol, the lecturer's a joke. But still it has to be in Java, so..... |
Forum: Java Nov 27th, 2007 |
| Replies: 25 Views: 2,337 This is a Data Structures and Algoritms through Java assignment!!! :D |
Forum: Java Nov 26th, 2007 |
| Replies: 25 Views: 2,337 Wow, little bit off topic there lads, and ladies (?) , thanks for the help... Heres the actual Project Spec:
This is the most challenging option and should be carefully considered before being... |
Forum: Java Nov 24th, 2007 |
| Replies: 25 Views: 2,337 patent isn't what Im looking for, I want to develop my own idea on it, and present my own stuff on it, not someone else's. Thx tho! |
Forum: Java Nov 24th, 2007 |
| Replies: 25 Views: 2,337 Yep thats true, i was working on that asppect of it, as far as i know those keyboards are standard letter lay out, ie 'abc', 'def', what I was thinking of doing was redesigning the letter layout... |
Forum: Java Nov 23rd, 2007 |
| Replies: 25 Views: 2,337 Oh yeah, and it is a Java implementation, just incase your wondering, the Java implementation isn't what I'm asking for help with. |
Forum: Java Nov 23rd, 2007 |
| Replies: 25 Views: 2,337 Hey all, I'm not gonna ask for help with code or anything. What I would like is some help with an idea for a project I have, it's for college. Basically the spec for it is: Design a new keypad for a... |
Forum: Java Nov 12th, 2007 |
| Replies: 1 Views: 1,336 Lol stupid mistake, I saw it when I posted it, stupid protected lol |
Forum: Java Nov 12th, 2007 |
| Replies: 1 Views: 1,336 First of all, here's my codes:
public class SLLNode
{
protected Object element;
protected SLLNode succ;
protected SLLNode( Object elem, SLLNode successor )
{ |
Forum: Geeks' Lounge Nov 7th, 2007 |
| Replies: 44 Views: 3,320 My dad has the Dune series, never got into it myself but he swears by it? Anyone ever read Swansong? No theres a class book, and the Belgariad? Read them when I was a childerbeast, never forgot them.... |
Forum: Community Introductions Nov 7th, 2007 |
| Replies: 10 Views: 898 herrrooo! My dad's originally from Cleveland (I think), Ohio!!! |
Forum: Java Nov 7th, 2007 |
| Replies: 9 Views: 5,046 Well show us what code you've got! Noone's gonna do it for ya. |
Forum: Java Nov 6th, 2007 |
| Replies: 3 Views: 635 Well to be honest, sometimes lecturers want you to figure these things out for yourself! And then they tell you about the other classes, but regardless of whether or not you know of other classes... |
Forum: Java Nov 6th, 2007 |
| Replies: 4 Views: 4,873 That method is pretty similar to the printf() method of String. What you could also do is, if you only have a couple of things, you could tab them, ie:
System.out.println( "Blah\tBlah" ); would give... |
Forum: Java Nov 6th, 2007 |
| Replies: 3 Views: 635 an String [] with the months in it, the year should be alright if your reading it from the user. Then a switch or if/else statementst to capture the day numbers like 1st, 2nd and then concatenate all... |
Forum: Java Nov 6th, 2007 |
| Replies: 5 Views: 1,893 And here's yer PizzaWithToppings class. Pretty similar!
class PizzaWithToppings extends PizzaOrder
{
protected boolean sausage, pepperoni, peppers; //The three toppings
/**
... |
Forum: Java Nov 5th, 2007 |
| Replies: 5 Views: 1,893 Thats a lot better mate, similar to what I've done for you, heres the first class. Tis pretty self explanatory:
public class PizzaOrder
{
protected String size; //Size of pizza
... |
Forum: Java Nov 5th, 2007 |
| Replies: 14 Views: 1,761 ye have an extra parenthesis there above //other methods, so you have in effect finished your class there!!! get rid of it and ye should be fine mate. |
Forum: Assembly Nov 5th, 2007 |
| Replies: 2 Views: 2,300 you could use a couple of compare statements to compare the values and then print out the ascii equivalents |
Forum: Java Nov 5th, 2007 |
| Replies: 7 Views: 7,119 public static boolean winner (String z[][])
{
if ( ( z[0][0]=="X" && z[0][1]=="X" && z[0][2]=="X" )
|| ( z[1][0]=="X" && z[1][1]=="X" && z[1][2]=="X" )
... |
Forum: Posting Games Nov 2nd, 2007 |
| Replies: 622 Views: 45,411 |
Forum: Posting Games Nov 2nd, 2007 |
| Replies: 3,341 Views: 179,096 |
Forum: Posting Games Nov 2nd, 2007 |
| Replies: 52 Views: 6,404 |
Forum: Posting Games Nov 2nd, 2007 |
| Replies: 4,588 Views: 183,297 |