NEVERMIND!

duragezic

Lifer
Oct 11, 1999
11,234
4
81
Cmon now you got to do some things by on your own.


Look in Poplawski's book (last chapter I think), or the Data Structures book (pg 160 or so). The Node class is very simple. A linked list has Nodes, each Node has a value and a reference to the next node.
 

mdchesne

Banned
Feb 27, 2005
2,810
1
0
I actually didn;t get it out of poplawski's book. rather the 4th edition of the java algorithm book. Just looking for the Node class example cause I didn't see it in the book i was using. If it's in pop's book, great, thanks
 

mdchesne

Banned
Feb 27, 2005
2,810
1
0
i'm desperately in need of a windows-based compiler for java. can anyone recommend me one? [/b]
 

duragezic

Lifer
Oct 11, 1999
11,234
4
81
Originally posted by: mdchesne
I actually didn;t get it out of poplawski's book. rather the 4th edition of the java algorithm book. Just looking for the Node class example cause I didn't see it in the book i was using. If it's in pop's book, great, thanks
I was telling you that either one of those sources (as well as about 100 others) has Node class examples... you can pretty much copy it 1:1, that's all there is (usually).
 

Thyme

Platinum Member
Nov 30, 2000
2,330
0
0
Originally posted by: mdchesne
i'm desperately in need of a windows-based compiler for java. can anyone recommend me one? [/b]

I write in Eclipse and let it take care of it for me. (Need the JDK, probably)
 

mdchesne

Banned
Feb 27, 2005
2,810
1
0
Solved the compile problem. But now I need to find how to set the tType == ), (, [, ], {, and }

tType == ')' doesn't work. it runs, but doesn't go through the appropriate "if" statements first.

Anyone think the ASCII numbers will solve this?