From f55a86db7e560bea3c4fbf8a5e585e88aff80522 Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Tue, 12 Mar 2024 16:53:35 -0400 Subject: [PATCH] the double quote issue doesn't exist anymore --- old_hws/07_search_engine/README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/old_hws/07_search_engine/README.md b/old_hws/07_search_engine/README.md index 9d92cf2..d72a60b 100644 --- a/old_hws/07_search_engine/README.md +++ b/old_hws/07_search_engine/README.md @@ -320,7 +320,8 @@ if (lastSlashPos != std::string::npos) { directory = URL.substr(0, lastSlashPos + 1); } ``` -- erase: when doing a phrase search, we enclose our query with double quotes. Unfortunately, the autograder is not smart enough to handle this, and it will pass the double quotes as a part of the query string. And therefore, in your program, you need to remove the double quotes, and you can do so using code like this: + + ## Provided Functions @@ -387,9 +389,9 @@ Make sure you still include the fstream library. In this assignment, you are required to use either std::map or std::set. You can use both if you want to. You are NOT allowed to use any data structures we have not learned so far, but feel free to use any data structures we have already learned, such as std::string, std::vector, std::list. In addition, **the web crawler component of your program must be recursive**. Use good coding style when you design and implement your program. Organize your program into functions: -don’t put all the code in main! Be sure to read the [Homework Policies](https://www.cs.rpi.edu/academics/courses/fall23/csci1200/homework_policies.php) as you put the finishing touches on your solution. Be sure to make up new test cases to fully debug your program and don’t forget +don’t put all the code in main! Be sure to read the [Homework Policies](https://www.cs.rpi.edu/academics/courses/spring24/csci1200/homework_policies.php) as you put the finishing touches on your solution. Be sure to make up new test cases to fully debug your program and don’t forget to comment your code! Use the provided template [README.txt](./README.txt) file for notes you want the grader to read. -You must do this assignment on your own, as described in the [Collaboration Policy & Academic Integrity](https://www.cs.rpi.edu/academics/courses/fall23/csci1200/academic_integrity.php) page. If you did discuss the problem or error messages, etc. with anyone, please list their names in your README.txt file. +You must do this assignment on your own, as described in the [Collaboration Policy & Academic Integrity](https://www.cs.rpi.edu/academics/courses/spring24/csci1200/academic_integrity.php) page. If you did discuss the problem or error messages, etc. with anyone, please list their names in your README.txt file. **Due Date**: 03/21/2023, Thursday, 10pm.