소스 검색

Updates README-en.md

Auto commit by GitBook Editor
부모
커밋
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.