Search:

Type: Posts; User: helloworld922

Search: Search took 0.10 seconds.

  1. Replies
    7
    Views
    15,063

    Re: Java Calculator

    Ok, it's quite long, though. I've put each seperate class file in their own code block (SyntaxError class is excluded cause it just extends RuntimeException). The only function that evaluates is sin,...
  2. Replies
    7
    Views
    15,063

    Re: Java Calculator

    Ok, it works :) if anyone wants the code, pm me.
  3. Replies
    7
    Views
    15,063

    Re: Java Calculator

    I think I'm going to start over again. I found another topic talking about the shunting algorithm, and that sounds much easier than what i'm trying to do. I'll post that code if I run into problems.
  4. Replies
    7
    Views
    15,063

    Java Calculator

    Hi, I've been trying to create a fairly simple calculator that can parse a string and build up a simple tree that's easily evaluated. It has to support a custom order of operations and parenthesis...
Results 1 to 4 of 4