Simple integer calculator.

Description | Download | Table of Contents | Modules | Compound List | File List | Functions


Overview
Compiler
Documentation
Examples
Misc
Help
IDE & Tools

Download
Install

Links
Projects






This program is a simple calculator which has a stack of integer values. It defines commands to:
  • Push integer values on the stack. These values are either in decimal or hexadecimal (0x prefix)
  • Do simple operations on top most values on the stack. Operands are popped from the stack and the result is pushed back.
  • Select the format of the output result and list the content of the stack.

Source file: calc.c

Description | Download | Table of Contents | Modules | Compound List | File List | Functions

    Last modified,
    Apr 16, 2001
[ Copying ]     [ Feedback to Stephane.Carrez@worldnet.fr ]