Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 16 of 16
Search took 0.01 seconds; generated 3 minute(s) ago.
Search: Posts Made By: eccles
Forum: Java Dec 6th, 2004, 4:01 AM
Replies: 9
Views: 327
Posted By eccles
Well yes you're absolutely correct of course...

Well yes you're absolutely correct of course regarding Learning Java.

I thought I'd better emphasise that it's not a good book to learn from despite the title (and the presigious o'reilly...
Forum: Java Nov 30th, 2004, 7:08 PM
Replies: 5
Views: 249
Posted By eccles
isn't there also a way to read from System.in...

isn't there also a way to read from System.in char by char?
Forum: Java Nov 23rd, 2004, 6:50 PM
Replies: 4
Views: 274
Posted By eccles
wow this is cool!!!! I just wrote this to test...

wow this is cool!!!!

I just wrote this to test it:


import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class ProcTest
Forum: Java Nov 23rd, 2004, 6:18 PM
Replies: 4
Views: 274
Posted By eccles
I have encountered this before, but ended up...

I have encountered this before, but ended up using a different solution to the problem I was working on...

but out of interest - is there a way to read in the output of the command into a...
Forum: Java Nov 23rd, 2004, 6:05 PM
Replies: 8
Views: 295
Posted By eccles
oh yeah I realise that - I wasn't implying it was...

oh yeah I realise that - I wasn't implying it was your fault :)
I have noticed that myself when I have tried to post code... it's just that with python it *really* makes a difference hehe

I finally...
Forum: Java Nov 23rd, 2004, 4:55 PM
Replies: 8
Views: 295
Posted By eccles
argh!!!! what a nightmare - I cut and pasted...

argh!!!!

what a nightmare - I cut and pasted that and now i have to go through indenting it... and thanks to pythons lack of braces and all the nesting it's not always easy to tell where to...
Forum: Java Nov 23rd, 2004, 4:43 PM
Replies: 3
Views: 205
Posted By eccles
this modified version works for me... I didn't...

this modified version works for me...
I didn't change any of the actual structure (much) but I was seriously tempted to in places - particularly with regard to error handling (by the way - where does...
Forum: Java Nov 23rd, 2004, 4:26 PM
Replies: 3
Views: 205
Posted By eccles
yeah there's a couple of probs. first of all you...

yeah there's a couple of probs.

first of all you have put a semicolon at the end of the if statement on line 91 instead of the closing parenthesis... so replace ; with ).
secondly, you are trying to...
Forum: Java Nov 22nd, 2004, 10:58 PM
Replies: 8
Views: 295
Posted By eccles
cheers mate :) I'll have a really good look at...

cheers mate :)
I'll have a really good look at this when I get home!
Forum: Java Nov 22nd, 2004, 4:41 PM
Replies: 8
Views: 295
Posted By eccles
that would be cool :) thanks! perhaps I *should*...

that would be cool :) thanks!

perhaps I *should* write the parser in python...
and then interface with it somehow.
Forum: Java Nov 21st, 2004, 9:17 PM
Replies: 8
Views: 274
Posted By eccles
I realise its a bit ugly - but perhaps something...

I realise its a bit ugly - but perhaps something like this might help??
then you can just call it with your two character arrays and it will return an array representing the (unique)...
Forum: Java Nov 21st, 2004, 8:23 PM
Replies: 9
Views: 327
Posted By eccles
I can recommend *against* the book 'Learning...

I can recommend *against* the book 'Learning Java' - put out by O'Reilly.

I bought it thinking it'd be as good as 'Learning Perl'.

it is NO GOOD as a book for learning the language - especially if...
Forum: Java Nov 21st, 2004, 8:00 PM
Replies: 2
Views: 207
Posted By eccles
alternatively, just recast it to a...

alternatively, just recast it to a string:


LineString[bob] = (String)v.elementAt( bob );


since you already know that the vector contains strings (albeit ones that have had their cast widened to...
Forum: Java Nov 21st, 2004, 7:51 PM
Replies: 3
Views: 212
Posted By eccles
pay careful attention to Sykkn's example. note...

pay careful attention to Sykkn's example.

note that he is creating a new Date instance each time he wants to get the curent time...

ie he is NOT doing:

Date date = new Date();
long timeStart =...
Forum: Java Nov 21st, 2004, 7:37 PM
Replies: 8
Views: 295
Posted By eccles
Hi there, I have been writing a program to plot...

Hi there,
I have been writing a program to plot mathematical functions.

I have already written the output classes (eg Plotter, which extends JPanel) and which allows arbitrary resizing of the domain...
Forum: Java Nov 21st, 2004, 7:30 PM
Replies: 10
Views: 302
Posted By eccles
here's a hint for you... use a combination of...

here's a hint for you...

use a combination of
System.out.print()
and
System.out.println()

and like others said - you will learn more by figuring it out for yourself ;)
Showing results 1 to 16 of 16

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:28 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC