self-writing code?

This is a discussion on self-writing code? within the C++ Programming forums, part of the General Programming Boards category; What is RPN?...

  1. #16
    UNBANNED OneStiffRod's Avatar
    Join Date
    Jan 2002
    Posts
    669
    What is RPN?
    My Avatar says: "Stay in School"

    Rocco is the Boy!
    "SHUT YOUR LIPS..."

  2. #17
    Registered User Cela's Avatar
    Join Date
    Jan 2003
    Posts
    362
    >>What is RPN?
    Reverse Polish Notation
    *Cela*

  3. #18
    UNBANNED OneStiffRod's Avatar
    Join Date
    Jan 2002
    Posts
    669
    Thanks Cela,

    I got this from a site I found on google:
    "Thus, the compilers on on almost all modern computers converted statements to RPN for execution."
    http://www.hpmuseum.org/rpn.htm

    so doesn't that mean the compiler does postfix anyway and u don't have to add yurself?
    My Avatar says: "Stay in School"

    Rocco is the Boy!
    "SHUT YOUR LIPS..."

  4. #19
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    I once wrote a fairly long post on how to convert an expression to RPN.
    But I guess I'm a poor tutor, because none answered my post.

    Here it is:
    http://www.cprogramming.com/cboard/s...threadid=27699
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  5. #20
    Registered User
    Join Date
    Nov 2002
    Posts
    491
    so doesn't that mean the compiler does postfix anyway and u don't have to add yurself?
    How do you expect the compiler to convert an input value into RPN while your program is running?

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Writing Code but am having problems
    By Choppers in forum C Programming
    Replies: 20
    Last Post: 06-25-2009, 06:18 PM
  2. Writing code for a program in C
    By Sure in forum C Programming
    Replies: 7
    Last Post: 06-11-2005, 01:33 PM
  3. professional programmers, do you spend more time writing or modifying code
    By Terrance in forum A Brief History of Cprogramming.com
    Replies: 29
    Last Post: 11-25-2002, 09:54 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21