Forum: Java 21 Days Ago |
| Replies: 4 Views: 332 [code=c++]
Just a suggestion: Don't you think this loop is a bit too nested? you could make your code much readable if you simplified these nested loops. |
Forum: Java Nov 17th, 2009 |
| Replies: 0 Views: 286 Hi,
I'm writing my first RMI application, it's an auction system. At the end of the auction period for a particular item the server sends a 'callback' to the winning client telling him that he's... |
Forum: Java Oct 24th, 2009 |
| Replies: 6 Views: 440 The null is because it's reading past the last line of the file. So when it has read the last line the 'while' is true, then it reads the next line(one after last one) then when you access the length... |
Forum: Java Oct 22nd, 2009 |
| Replies: 6 Views: 440 upload the data files if they are not too big, we'll see if we can help. |
Forum: Java Oct 21st, 2009 |
| Replies: 6 Views: 440 'tmp' string might be null. put a check like this after you do the 'readLine' and try
if(tmp != null)
{
//your code
} |