Forum: Java Nov 6th, 2008 |
| Replies: 2 Views: 340 I have this program and I have made the changes. Now I am trying to implement the stack within my code and im confused. I need to push the environment_types onto the stack but I dont know how. Here... |
Forum: Java Oct 29th, 2008 |
| Replies: 6 Views: 920 I have considered your advice and this is what i have now
// create a fileScan Scanner for a file, Simple.txt
Scanner fileScan = new Scanner(new File("simple.txt"));
String... |
Forum: Java Oct 29th, 2008 |
| Replies: 6 Views: 920 Thats looks write because I saw an example earlier but im not sure where to post it |
Forum: Java Oct 29th, 2008 |
| Replies: 6 Views: 920 thank you so much, I checked it and that was the problem. |
Forum: Java Oct 29th, 2008 |
| Replies: 6 Views: 920 Write a program that simulates a small programming language (SPL) with subprograms. The language has the following EBNF:
<program> ::= begin <statement> | <statement_sequence> end; ... |
Forum: Java Oct 3rd, 2008 |
| Replies: 1 Views: 362 This is the main of my program all errors have been solved now I need help sorting my array list with a selection, bubble and insertion sort to print out in
alphabetic order using the name as key... |
Forum: Java Apr 23rd, 2008 |
| Replies: 12 Views: 3,367 Hi I have been working out the kinks in my program and I have progressed a little more. Here is what I have:
import java.util.StringTokenizer;
import java.util.Scanner;
import jss2.*;
import... |
Forum: Java Apr 22nd, 2008 |
| Replies: 12 Views: 3,367 this is how my text file reads:
65 47 87 48 11 89 27 6 4 3 2 7 33 68 78 57 83 27 6 78 11 75 9 10 19 53 2
addElement
removeElement
removeMax
removeMin
findMax
findMin
find |
Forum: Java Apr 22nd, 2008 |
| Replies: 12 Views: 3,367 I would like to say thanks for being patient with me cause Im new at this! This is what I have done and this comes out with two errors
public static void main(String[] args) throws IOException
... |
Forum: Java Apr 22nd, 2008 |
| Replies: 12 Views: 3,367 Okay I made another class to test the first example you gave me. It compiles with no errors but it doesnt print the first line of my text file? |
Forum: Java Apr 21st, 2008 |
| Replies: 12 Views: 3,367 My professor used the stringTokenizer in the program he had did, never saw the String.split() also same thing with the BufferReader(I have seen it and read it in books but my professors never used it... |
Forum: Java Apr 21st, 2008 |
| Replies: 12 Views: 3,367 Okay heres what I have and its unorganized cause im trying to figure out the string tokenizer.
import java.util.StringTokenizer;
import java.util.Scanner;
import java.io.*; |
Forum: Java Apr 21st, 2008 |
| Replies: 12 Views: 3,367 Yes I read them. I have added some more things and will post it later |
Forum: Java Apr 20th, 2008 |
| Replies: 12 Views: 3,367 I already started the text file with the appropriate information. How do you create the binary search tree? |
Forum: Java Apr 18th, 2008 |
| Replies: 12 Views: 3,367 Using a Binary Search Tree
Using the LinkedBinarySearchTree class in the jss2 for chapters 12 and 13, write a program that exercises all of the operations except:
• removAllOccurrences... |