Code Monkey home page Code Monkey logo

roman-numeral-calculator's Introduction

Keegan Donley
CS 315
Project 01
2/15/17

This projects contains the following files:

.
├── InfixToPostfix.cpp
├── InfixToPostfix.hpp
├── Makefile
├── Number.cpp
├── Number.hpp
├── README
├── Token.cpp
├── Token.hpp
├── TokenIterator.cpp
├── TokenIterator.hpp
├── Tokenizer.cpp
├── Tokenizer.hpp
├── main.cpp
├── symbolTable.cpp
└── symbolTable.hpp

- Using the command `make run` the project will be built and executed.
- Infix expressions in the format: "a = XX + II * (M - IV)" can be entered, one
  per line.
- Entering a blank line will end the input sequence, and produce the output
  for all statements entered.

Everything works properly for this assignment. I've extensively tested the
program's handling of input to ensure that invalid numerals aren't calculated.

Some fatal errors (such as an invalid infix expressions) result in the termination
of the program, while other non-fatal errors (such as an invalid numeral,
i.e. XXXX or numerals >= MMMM) only result in that input line being skipped, with
the user being allowed to continue entering expressions.

Exit code 0: OK
Exit code 1: expression was entered without a left-hand variable
Exit code 2: expression wasn't an assignment

roman-numeral-calculator's People

Contributors

keegandonley avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.