Forum: Java
May 3rd, 2007, 7:31 AM
|
|
Replies: 3
Views: 118
Little Error checking help
I've got two methods which take in information from the user. One which takes in Strings:
public static String getNames(){
BufferedReader br = new BufferedReader(new...
|
Forum: Coder's Corner Lounge
Mar 30th, 2007, 6:14 AM
|
|
Replies: 29
Views: 606
|
Forum: Coder's Corner Lounge
Mar 30th, 2007, 6:12 AM
|
|
Replies: 31
Views: 788
|
Forum: Java
Mar 28th, 2007, 3:52 PM
|
|
Replies: 4
Views: 145
|
Forum: Java
Mar 28th, 2007, 6:01 AM
|
|
Replies: 4
Views: 145
Pulling from an Arraylist
I have an arraylist (tokens) that i've filled with words from a text file i've parsed through and tokenized.
At some point in the file there is the word 'model', which only appears once. I know two...
|
Forum: Java
Mar 19th, 2007, 8:09 AM
|
|
Replies: 2
Views: 149
|
Forum: Java
Mar 19th, 2007, 6:07 AM
|
|
Replies: 2
Views: 149
Writing to a text file.
Hey guys i've got a problem. Im trying to write some text to a txt file using the following code:
try{
BufferedWriter output = new BufferedWriter(new...
|
Forum: Java
Mar 13th, 2007, 8:56 AM
|
|
Replies: 11
Views: 179
|
Forum: Java
Mar 13th, 2007, 7:59 AM
|
|
Replies: 11
Views: 179
Heres an extended piece of the code. Im not...
Heres an extended piece of the code. Im not exactly sure why the <apply> is needed but im just getting into SBML myself so theres still alot i don't know about. I'm guessing its something to do with...
|
Forum: Java
Mar 12th, 2007, 12:33 PM
|
|
Replies: 11
Views: 179
|
Forum: Java
Mar 12th, 2007, 11:02 AM
|
|
Replies: 11
Views: 179
Could use some input
Hey guys, i've got a problem. As part of a program i'm writing i need to find a way of changing formulas automatically from one form to another. I'm converting text files filled with formulas, to...
|
Forum: Other Programming Languages
Feb 20th, 2007, 11:10 AM
|
|
Replies: 8
Views: 177
|
Forum: Other Programming Languages
Feb 20th, 2007, 8:41 AM
|
|
Replies: 8
Views: 177
Well from what i can make out from my limited...
Well from what i can make out from my limited ability to understand code, the solutions presented show a way of finding a string specified by the user and then telling the user when that string is...
|
Forum: Other Programming Languages
Feb 20th, 2007, 8:15 AM
|
|
Replies: 8
Views: 177
Thanks for the reply. Im pretty bad at...
Thanks for the reply. Im pretty bad at understanding code right now however so im not exactly sure what that solution does. By looking at the input and the output i'd guess it took in an input file...
|
Forum: Other Programming Languages
Feb 20th, 2007, 7:25 AM
|
|
Replies: 8
Views: 177
|
Forum: Other Programming Languages
Feb 20th, 2007, 5:56 AM
|
|
Replies: 8
Views: 177
Java or Clips/Jess
I'm trying to come up with a way of searching through a text file for a specific pattern like. For example imagine a text file containing this:
I want it to search for 'At Bt' when it finds it...
|
Forum: Java
Jan 29th, 2007, 11:41 AM
|
|
Replies: 3
Views: 154
I would be modelling things like metabolic...
I would be modelling things like metabolic pathways in the human body. The user would be able to drag and drop objects using this 'graphical modeler' like an oxygen or nitrogen molecule and from this...
|
Forum: Java
Jan 29th, 2007, 7:54 AM
|
|
Replies: 3
Views: 154
Honours Project
I've been suggested a honours project by my supervisor, and a small part of it is to design a graphical modeler possibly in java. I have no background in doing this sort of thing and haven't a clue...
|
Forum: Other Programming Languages
Nov 21st, 2006, 1:00 PM
|
|
Replies: 1
Views: 105
Postcript
Anyone have any basic knowlege of how postscript works?
I want to pull a value off the stack
/
myfunction r <- top of stack
/r exch def
|
Forum: Java
Nov 14th, 2006, 5:01 AM
|
|
Replies: 12
Views: 300
|
Forum: Java
Nov 13th, 2006, 8:45 AM
|
|
Replies: 12
Views: 300
If i had an array called List and was able to...
If i had an array called List and was able to iterate through it, pulling out each element like this:
for(i = 0 ; i< List.size()-4 ; i++){
System.out.println(seqList.get(i));
}
Is there any...
|
Forum: Java
Nov 10th, 2006, 6:55 AM
|
|
Replies: 12
Views: 300
Alright thanks for that guys. The reason i was...
Alright thanks for that guys. The reason i was going to use an arraylist was that later on im gonna have to make similar lists for indivdual amino acids which include ints and i thought it would be...
|
Forum: Java
Nov 9th, 2006, 11:16 AM
|
|
Replies: 12
Views: 300
ArrayLists
Im writing a program to find out if a protein sequence has a turn in it (don't ask) and this is what i want to do.
I need to enter a sequence, at the terminal, i.e. CAENBVWGKL or something then i...
|
Forum: Other Programming Languages
Oct 30th, 2006, 12:27 PM
|
|
Replies: 16
Views: 430
Yeah he did the hard part. But i got the whole...
Yeah he did the hard part. But i got the whole thing working now.
just had to write:
owns a b = member a ( owner companies b )
('member' just does the same thing as arevos' inList method - but i...
|
Forum: Other Programming Languages
Oct 30th, 2006, 11:32 AM
|
|
Replies: 16
Views: 430
Okay, fair enough.
I've managed to go from...
Okay, fair enough.
I've managed to go from entering two companies, to it returning the owners of the second. I'll do the rest on my own. You're right it's the only way i'll get it.
Thanks again...
|
Forum: Other Programming Languages
Oct 30th, 2006, 9:15 AM
|
|
Replies: 16
Views: 430
Thanks for the replys guys. Im working my way...
Thanks for the replys guys. Im working my way through this slowly. What i need to do now is to use the list that 'owners' returns, and check its members for the exsistence of the company supplied as...
|
Forum: Other Programming Languages
Oct 26th, 2006, 9:52 AM
|
|
Replies: 16
Views: 430
|
Forum: Other Programming Languages
Oct 24th, 2006, 12:04 PM
|
|
Replies: 16
Views: 430
|
Forum: Other Programming Languages
Oct 24th, 2006, 8:26 AM
|
|
Replies: 16
Views: 430
Thats almost it but not quite.
I want to set up...
Thats almost it but not quite.
I want to set up a list like you said with
relationships = [("Jane", "Mary"), ("Scott", "Brian")]
but at the terminal all i want to type is the name of the function,...
|
Forum: Other Programming Languages
Oct 24th, 2006, 5:08 AM
|
|
Replies: 16
Views: 430
Hi thanks for the replys and sorry i haven't...
Hi thanks for the replys and sorry i haven't replied. The site wouldn't let me log back in for some reason. I tried logging in about 4 times and each time i went to post, it asked me to log in again....
|
Forum: Other Programming Languages
Oct 17th, 2006, 5:21 AM
|
|
Replies: 16
Views: 430
Anyone with knowledge of Haskell?
Does anyone have any knowledge of using Haskell? I'm trying to write some functions to do some simple tasks.
For example, a program, getelem, which is given an integer n and a list, returns the nth...
|
Forum: Java
Apr 21st, 2006, 8:59 AM
|
|
Replies: 5
Views: 228
I don't know if anyone is still bothered about...
I don't know if anyone is still bothered about this but i have a new problem. This piece of code doesn't seem to be doing what i want. What is happening here is that i've submitted the form and now...
|
Forum: Java
Apr 19th, 2006, 9:16 AM
|
|
Replies: 5
Views: 228
Thanks but i want to use eclipse. Im almost...
Thanks but i want to use eclipse. Im almost there. I've managed to make a few pages, with a consistent menu system on each page to link them together.
Plus i've managed to populate all the...
|
Forum: Java
Apr 19th, 2006, 3:42 AM
|
|
Replies: 5
Views: 228
|
Forum: Java
Apr 17th, 2006, 8:01 AM
|
|
Replies: 5
Views: 228
An eclipse project
I want to use eclipse to make a simple order form.
I want to make some forms using html or jsp, then have some java code to connect to an existing java database.
I want the form to only display...
|
Forum: C#
Apr 12th, 2006, 4:36 AM
|
|
Replies: 10
Views: 382
|
Forum: C#
Apr 10th, 2006, 4:53 AM
|
|
Replies: 10
Views: 382
String to decimal.
I want to add information to a database using a form. I want to take 3 bits of information - Name, Price, Quantity.
Name must be stored in the DB as text, Price as currency and quantity as...
|
Forum: C
Dec 7th, 2005, 5:19 AM
|
|
Replies: 17
Views: 454
|
Forum: C
Dec 6th, 2005, 12:33 PM
|
|
Replies: 17
Views: 454
|
Forum: C
Dec 6th, 2005, 6:41 AM
|
|
Replies: 17
Views: 454
|