so in my program i use a java tokenizer
but i have a problem while testing
StreamTokenizer st = new StreamTokenizer ( new BufferedInputStream (new FileInputStream (filePath))) ;
well with this i can only test the first line wich is not enough i wanna test all the file
if(st.toString().equals("Token['+'], line 1") )
i need help:confused:
What is this tokenizer supposed to do???
Please post some example :)
What is content of file?
What are delimiters?
What do you need in output?
this is the content of the file for now
now i've done the parser of
but if i write the "(23+5)*((12*4)+3)$" at the second line of the file it won't
work because of line1 in the test:)