Search:

Type: Posts; User: why_always_me

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    2,383

    Re: Java calculator implementation

    Hi Guys my new thinking is :

    List class
    Node class
    Shunting yard class
    Main class
    Main includes the reverse Polich notation, filereader and tokenizer.

    My question now is how would i...
  2. Replies
    5
    Views
    2,383

    Re: Java calculator implementation

    so my thinking now is to have the following classes:

    stack class
    main - filereading, dealing with the numbers+operands
    shunting yard class

    Is this an acceptable sort of hierarchy?

    thanks
  3. Replies
    5
    Views
    2,383

    Re: Java calculator implementation

    Hi thanks for the help.

    How would I implement my own stack without using the java utils?

    also what sort of hierarchy should i use? I was thinking maybe a filereader class and then one to deal...
  4. Replies
    5
    Views
    2,383

    Java calculator implementation

    am basically attempting to create a calculator using a class hierarchy - the basic function will be:

    Convert the String representation into a list of Tokens
    Convert the List of Tokens into Polish...
Results 1 to 4 of 4