Search:

Type: Posts; User: ygfperson

Search: Search took 0.03 seconds.

  1. Replies
    23
    Views
    4,825

    5) It's preceded by a '/' BTW, the '/' serves...

    5) It's preceded by a '/'

    BTW, the '/' serves to raise the next factor in the string by -1 power. Negative signs are skipped past, because there's never any intention to divide just by a negative...
  2. Replies
    23
    Views
    4,825

    so... ignoring whitespace, it's a minus sign...

    so... ignoring whitespace, it's a minus sign unless
    1) It's preceded by a plus sign
    2) it's preceded by a parenthesis
    3) it's the first character in the string
    4) it's preceded by a '*'

    This...
  3. Replies
    23
    Views
    4,825

    But that could also be 4-n = 4(-n)

    But that could also be
    4-n = 4(-n)
  4. Replies
    23
    Views
    4,825

    (a+b)(c+d) does work fine. In some situations the...

    (a+b)(c+d) does work fine. In some situations the parentheses surrounding the expression don't show when they should, so I'll have to tweak that.

    x(a+b) isn't allowed because x() is handled like a...
  5. Replies
    23
    Views
    4,825

    Thanks. Yes, actually. Sorry for burying int...

    Thanks.

    Yes, actually. Sorry for burying int main() in there.
    1) Expression after being parsed (unsimplified)
    2) Combined like terms and factors
    3) Used distributive property to expand factors...
  6. Replies
    23
    Views
    4,825

    You're right... I didn't notice that. That's a...

    You're right... I didn't notice that. That's a bug.

    Here is the executable:

    //edit: another note: make sure there is a '*' between a variable and a parentheses. ie:


    f(x)
    will be...
  7. Replies
    23
    Views
    4,825

    after it is compiled, run it, and type in an...

    after it is compiled, run it, and type in an expression:


    9x^2+b

    and it will parse it into objects and print it back out again. If there's a way to simplify it, it will do that automatically....
  8. Replies
    23
    Views
    4,825

    Expression Manipulator v0.1

    It's finally here... after a month... :D

    It's got plenty of bugs to be worked out... but this is pretty far along from my last release.

    This is a set of classes designed to manipulated...
Results 1 to 8 of 8