Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8736669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:21:19+00:00 2026-06-13T10:21:19+00:00

I am just hoping on getting some tips on how to get started on

  • 0

I am just hoping on getting some tips on how to get started on my assignment.
It reads as follows:

“Implement a program that behaves similarly to the ‘dc’ utility, which evaluates expressions in a postfix notation, and also supports additional computations using variables and macro strings. Feel free to experiment with the existing utility and consulting its manual pages.
The assignment will support only a subset of the complete utility:
— all numeric values will be integers, only using radix 10

— numbers may be assumed to be within the range of 32-bit signed numbers

— all register names will be alphanumeric (a subset of those dc allows)

— no command line options or arguments will be required

— only the following commands are are required (listed in the same order as the manual)
p n f + – * / % ^ c d r s l S L x > !> < !< = != q #

Some key differences between the assignment and the existing utility:
— all input will be through standard input only (but not necessarily keyboard)

— register stacks are initially not empty, but filled with infinite zeros

— the q command will exit the program, regardless of macro call nesting level

— additional spaces may appear between input tokens for legibility
(the space is not a command or a value or a register name)”

I honestly don’t know where to start… Any help is greatly appreciated, thanks guys.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T10:21:20+00:00Added an answer on June 13, 2026 at 10:21 am

    As it is an assignment and you do not know where to start here are some hints:

    • Start with reading the stdin and split it into tokens
    • implement the stack to store operands and results
    • implement a few operations like +,-,*,/
    • make it all working
    • then implement the missing features one by one
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am just about to get started with Kinect development and am hoping someone
I am just getting started with NuGet and trying to get my head around
I was just hoping that someone could point me to a reference that defines
I've looked up a couple of documents but I was just hoping to get
I'm hoping this is just a bug on Facebook's end that will be fixed
I'm hoping you guys can answer me a question? I've only just started out
I am getting multiple, confusing errors when building this school assignment and am hoping
Strange one here, hoping to get some feedback to point me in the right
Hey im working on my first php site, and was hoping to get some
I am getting some strange behavior involving database queries that I have never seen

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.