Преглед на файлове

Updates README-en.md

Auto commit by GitBook Editor
Rafael Arce Nazario преди 8 години
родител
ревизия
0f738ab1a8
променени са 1 файла, в които са добавени 9 реда и са изтрити 0 реда
  1. 9
    0
      README-en.md

+ 9
- 0
README-en.md Целия файл

@@ -255,6 +255,15 @@ In this exercise you will modify the `main` function and some of the pre-defined
255 255
 
256 256
 #### Instructions
257 257
 
258
+1. Notice the following line in the main funcion.  
259
+    ```cpp
260
+    filemanip file("dvd_csv.txt") ;
261
+    ```
262
+   Its purpose is to associate the object called `file` with the data file `dvd_csv.txt`. When openning a data file in a program it is often necessary to specify the file's absolute path to guarantee that it is found regardless of where the executable is placed. Find out the **absolute path** of `dvd_csv.txt` and substitute it for the current `"dvd_csv.txt"` string. For example, after the change the line could look as follows:
263
+    ```cpp
264
+    filemanip file("/home/eip/dvddvd_csv.txt") ;
265
+    ```
266
+
258 267
 1. Perform the following implementations in the `main` function (in the `main.cpp` file):
259 268
     * Add code so that the program displays the movies that have positions from 80 to 100.
260 269
     * Add code so that the program displays only the movies that have “forrest gump” in the title.