|
@@ -4,7 +4,7 @@
|
4
|
4
|

|
5
|
5
|

|
6
|
6
|
|
7
|
|
-[Version Verano 2016- Tatiana]
|
|
7
|
+[Verano 2016- Tatiana - Ive]
|
8
|
8
|
|
9
|
9
|
Recursion is a technique that is commonly used in programming. With this technique, problems are done by solving similar problems but for smaller cases. We can construct sets of objects or tasks using *recursive rules* and *initial values*. *Recursive functions* are functions that are self-invoking, using smaller sets or elements each time, until reaching a point where an initial value is used instead of self-invoking. In this laboratory experience, you will implement some tools to draw and practice the use of recursive functions to fill with color some figures.
|
10
|
10
|
|
|
@@ -103,8 +103,8 @@ Although the archive `tools.cpp` is not visible, there is an array called `mColo
|
103
|
103
|
|
104
|
104
|
1. Load the project `GridPlotter` into `QtCreator`. There are two ways to do this:
|
105
|
105
|
|
106
|
|
- * Using the virtual machine: Double click the file `GridPlotter.pro` located in the folder `home/eip/labs/recursion-gridplotter` of your virtual machine.
|
107
|
|
- * Downloading the project's folder from `Bitbucket`: Use a terminal and write the command `git clone http://bitbucket.org/eip-uprrp/recursion-gridplotter' to download the folder `recursion-gridplotter` from `Bitbucket`. Double click the file `GridPlotter.pro` located in the folder that you downloaded to your computer.
|
|
106
|
+ * Using the virtual machine: Double click the file `GridPlotter.pro` located in the folder `home/eip/labs/recursion-gridplotter` of your virtual machine.
|
|
107
|
+ * Downloading the project's folder from `Bitbucket`: Use a terminal and write the command `git clone http://bitbucket.org/eip-uprrp/recursion-gridplotter' to download the folder `recursion-gridplotter` from `Bitbucket`. Double click the file `GridPlotter.pro` located in the folder that you downloaded to your computer.
|
108
|
108
|
|
109
|
109
|
2. The project contains the skeleton for the application that draws lines and figures in a grid. The application has an interface that allows the user to select the color we want to draw with, the color of the background of the grid, the figure you want to draw (for example, circle or square) and the size of the figure. The selected figure is drawn when the user clicks a cell in the grid.
|
110
|
110
|
|
|
@@ -261,7 +261,7 @@ The function `flood-fill` is invoked and proves its functionality using various
|
261
|
261
|
|
262
|
262
|
## Deliverables
|
263
|
263
|
|
264
|
|
-Use "Deliverables" in Moodle to hand in the archive `tools.cpp` with the functions that you implemented in this laboratory experience. Remember to use good programming techniques, include the names of the programmers involved, and to document your program.
|
|
264
|
+Use "Deliverable" in Moodle to hand in the archive `tools.cpp` with the functions that you implemented in this laboratory experience. Remember to use good programming techniques, include the names of the programmers involved, and to document your program.
|
265
|
265
|
|
266
|
266
|
---
|
267
|
267
|
|