Your Perfect Assignment is Just a Click Away

We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!

glass
pen
clip
papers
heaphones

C++ Code Object Oriented Project

C++ Code Object Oriented Project

C++ Code Object Oriented Project

Object-Oriented project implementation
Object-Oriented programming offers many benefits such as a modular and easy to maintain code. The project aims to make programmers familiar with Object Oriented Programming and its characteristics.
You will convert the turtle.cpp code to Object-oriented following industry best practices. The input/output specifications for the turtle.cpp program is located under the Turtle.cpp label. You will develop an AsciiTurtle class to represent and control the actions of the turtle. You have been provided with an implementation of a canvas for ASCII graphics (AsciiCanvas), as well as a header file for your turtle.
Your solution should be a zip archive with two files: ASCIITurtle.cpp, which should contain the implementation of the turtle graphics functions, and turtle-driver.cpp, which contains the main function that constructs and uses ASCIICanvas and ASCIITurtle objects in order to compute the output generated by the turtle graphics commands in input.txt. You are not permitted to change the definition of the AsciiTurtle class for your solution.
Turtle.cpp
The turtle.cpp code will be provided but needs to be converted to Object Oriented following the project specifications indicated above.
Turtle.cpp reads in commands from the file input.txt. The first line of input.txt will specify the number of rows and columns on the canvas, and the rest of the file will describe a sequence of moves for the turtle to take.
There are 5 commands, each with a 1-2 letter code: “PU” for pen up, “PD” for pen down, “TL” for turn left, “TR” for turn right, and “F” for forward. The forward command (F) should be followed by a nonnegative integer (the number of spaces to move forwards). All turns are 90 degrees. Commands will be separated by whitespace. The turtle should continue reading in and performing commands until it reads an invalid command. If the turtle is instructed to move forward in a way that would take it off the canvas, it should instead move forward to the edge of the canvas and stop there (then continue with the next command).

“Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you A results.”
Attachments
20190530035446input (1kB)
20190530041015asciicanvas_cpp (1kB)
20190530041015asciicanvas_header_file (1kB)
20190530041015asciiturtle_header_file (1kB)

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: Blackboard Experts only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Blackboard Experts are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Blackboard Experts is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Blackboard Experts, we have put in place a team of experts who answer to all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.