BEST代写-线上留学生作业代写 & 论文代写专家

成立于2015年的老牌留学生代写品牌-BEST代写提供超过百门冷热门留学学科的作业和论文代写服务。全网BEST原创,高质,准时的留学生代写。

Mips代写 | ECE 3514: Project 3.1

Mips代写 | ECE 3514: Project 3.1

本次代写是一个Mips反汇编程序相关的assignment

Introduction

For our third homework we’ll be implementing the Stack ADT. The Stack ADT header is set up for the Node-
based implementation of the Stack presented in the text. You must complete the Node-based implementation
for the Stack.

A couple of points to note:

1. You must follow the rule of three for the Stack ADT implementation and use the copy-swap idiom.
2. The peek methods should throw a std::range_error exception when peeking at an empty stack.
3. I changed the Node implementation to return a const reference to the item instead of a copy of the
item. This shouldn’t cause problems in the future (and will result in fewer warnings for your Stack
implementation).

As always, you need to write unit tests for your class.

1 The Stack Class

The outline of the class is defined in the starter code inside the file Stack.hpp and documented in refman.pdf.
You are not allowed to modify the header file. You will need to define the methods and implement all methods
in the Stack.txx file. You should add appropriate comment blocks to each method, as well, in Stack.txx.
You will need to write tests in the student_tests.cpp using the Catch testing framework, as described in
class. The included CMakeLists.txt file sets up everything for you. Just generate your build directory for
your development environment as described in the course work-flow tutorial.

2 Grader

We will be using an automatic grader to help you determine your assignment’s completeness and correctness.
A portion of each assignment grade will be determined by the number of passing tests as determined by the
autograder, with our evaluation filling in the rest. Thismeans you know before you turn in your submission that
all is well. You can submit to the autograder as many times as you like, but it is rate limited (five submissions
every hour) to keep you from using it as your compiler. See this canvas for a summary of how to use the grader
(Note is is not WebCAT, which many of you may be familiar with).
For this assignment you should upload a zip file containing only the files: Stack.txx and student_tests.cpp.
There is a build target called “submission” configured by default to create this file with the correct contents
in your build directory.

bestdaixie

评论已关闭。