View Single Post
  #5 (permalink)  
Old 10-08-2008, 07:48 AM
dietgal dietgal is offline
Member
 
Join Date: Oct 2008
Posts: 19
Rep Power: 0
dietgal is on a distinguished road
Default
Does that mean that instead of

Code:
String command = stdIn.next();
I should change it to

Code:
String command = 0
command = stdIn.next();
?

I've tried my program, but after I enter my input as:

Code:
LOAD 19
,

it just ended and printed out

Code:
cache miss
Current time: 2
19, 0, 0, 0, 0, 0, 0, 0, 
2, 0, 0, 0, 0, 0, 0, 0,
Reply With Quote