Thread: what is a postfix calculator?

  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    24

    what is a postfix calculator?

    what is a postfix calculator which is made by using stack commands in c language?

  2. #2
    Registered User
    Join Date
    Aug 2005
    Posts
    266

  3. #3
    Registered User
    Join Date
    Dec 2009
    Posts
    24
    Quote Originally Posted by rodrigorules View Post
    hey,this is a java program.i haven't knowledge about java programming.
    I asked about a c program.

  4. #4
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    He wasn't giving you the code. You asked what one was and he showed you one. Write your own code.


    Quzah.
    Hope is the first step on the road to disappointment.

  5. #5
    Registered User
    Join Date
    Dec 2009
    Posts
    24
    Quote Originally Posted by quzah View Post
    He wasn't giving you the code. You asked what one was and he showed you one. Write your own code.


    Quzah.
    i don't need a code friend.i'm looking for a example c code to get a idea about that.

  6. #6
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by blogchama
    i don't need a code friend.i'm looking for a example c code to get a idea about that.
    That sounds like a contradiction.

    So, do you know what is a postfix calculator?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  7. #7
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    RPN uses postfix notation. Wiki has an article explaining it, and pseudo code, as well:
    Reverse Polish notation - Wikipedia, the free encyclopedia

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A postfix calculator!!...but somewhat broken
    By Hatake in forum C++ Programming
    Replies: 0
    Last Post: 12-18-2009, 11:20 AM
  2. Postfix Calculator Using Stack, Linked Lists
    By Velocity in forum C++ Programming
    Replies: 11
    Last Post: 12-05-2008, 05:29 PM
  3. Replies: 4
    Last Post: 03-12-2006, 02:17 PM
  4. Help with Postfix Calculator Project
    By hpy_gilmore8 in forum C Programming
    Replies: 5
    Last Post: 03-12-2003, 11:51 PM
  5. Postfix Notation Calculator
    By C Student in forum C Programming
    Replies: 3
    Last Post: 12-01-2002, 01:01 PM