Thread: Problems in evaluating postfix

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #24
    HelpingYouHelpUsHelpUsAll
    Join Date
    Dec 2007
    Location
    In your nightmares
    Posts
    223
    I fixed what I think you are refering to above. It now handles negative numbers better.

    EDIT: The reason the function above "Doesn't work for: Multiple digits w/ > one operator, greater than one operator", is a problem w/ an earlier function so the wrong equation was being passed. I have not fixed this up yet so I am unsure if the solution above works for ALL equations (note: functions haven't been implemented yet...)
    Last edited by P4R4N01D; 12-25-2008 at 08:51 PM.
    long time no C; //seige
    You miss 100% of the people you don't C;
    Code:
    if (language != LANG_C && language != LANG_CPP)
        drown(language);

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Expression: Convert infix notation to postfix notation.
    By Nutshell in forum C Programming
    Replies: 7
    Last Post: 02-27-2010, 07:44 AM
  2. Replies: 4
    Last Post: 03-12-2006, 02:17 PM
  3. Just a postfix clarification.
    By SlyMaelstrom in forum C++ Programming
    Replies: 3
    Last Post: 12-08-2005, 09:47 AM
  4. Infix to Postfix
    By dat in forum C Programming
    Replies: 6
    Last Post: 06-16-2003, 08:46 AM
  5. postfix
    By datainjector in forum C Programming
    Replies: 11
    Last Post: 11-20-2002, 08:33 PM

Tags for this Thread