Em Andamento

Arrays and functions

**OBJECT:**

: To simulate turtle graphics using C++ arrays and functions.

**REFERENCE(S):**

: Deitel & Deitel

**PROCEDURE:**

: 1. Review arrays, and functions.

2. Write a main function, *turtleGraphics* that invokes a **minimum** of the following functions:

* *createCanvas* - creates a canvas for the turtle to traverse with maximium size 20 X 20 initalized to zero.

* *drawShape* - take a list of commands from an array and draw an object by placing a **1** in the canvas when the pen is in the down position.

* *displayCanvas* - display the object when the proper pen command is encountered.

3. Use the following pen commands: <caption>Pen Commands</caption>

| Command | Pen Movement |

| ------- | ---------------- |

| 1 | right |

| 2 | left |

| 3 | up |

| 4 | down |

| 5,x | forward x spaces |

| 7 | display canvas |

| 9 | end |

4. Create 3 arrays in your main routine to display at least three shapes: square, triangle, and one of your choice.

5. Optional: add other commands to make your language more powerful.

**To Hand In:**

: 1. Please submit your program and executable code via Blackboard.

2. Provide the instructor with a hard copy in the following order:

* Course title, course number, experiment title, student name, and date

* The compiler and operating system used to write and execute your program

* The answers to the following questions

* Use of arrays, and functions for the simulation.

* How would use this simple language to drive a plotter?

***Note that this is a college lvl C++ class for EE majors, use simple minded programing and no major stuff

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.

3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform

nothing

Habilidades: Programação C, Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: turtle programming language, turtle programming, turtlegraphics, programming questions and answers, programming functions, programming college, programing source code, programing language, programing code, powerful programming software, php programing language, php main functions, operating system programming, one lvl, how to write a programming language, how to programing, how to make graphics in c language, how to make a programming language, how to create programing language, how to create a programming language, how hard is programming, functions programming, functions in programming, c++ programming shapes with the code, c programming functions

Acerca do Empregador:
( 2 comentários ) United States

ID do Projeto: #2998093

Premiar a:

vs1984

See private message.

$5 USD em 14 dias
(5 Avaliações)
0.4

11 freelancers estão ofertando em média $22 para este trabalho

mihaiscortaru

See private message.

$42.08 USD in 14 dias
(160 Comentários)
6.0
scalaccio

See private message.

$34 USD in 14 dias
(28 Comentários)
5.2
lmxvw

See private message.

$6.8 USD in 14 dias
(126 Comentários)
4.7
shabbirbhimani

See private message.

$21.25 USD in 14 dias
(33 Comentários)
4.2
gworroll

See private message.

$21.25 USD in 14 dias
(42 Comentários)
3.7
ciphereye

See private message.

$11.05 USD in 14 dias
(16 Comentários)
2.7
vw941997vw

See private message.

$17 USD in 14 dias
(3 Comentários)
0.6
darkrainbowvw

See private message.

$38.25 USD in 14 dias
(0 Comentários)
0.0
vw594776vw

See private message.

$29.75 USD in 14 dias
(0 Comentários)
0.0
ekimgram

See private message.

$12.75 USD in 14 dias
(0 Comentários)
0.0