comment to post

This commit is contained in:
Jidong Xiao
2023-11-20 19:54:27 -05:00
parent 8f4cb5b230
commit 2577e74f09

View File

@@ -240,7 +240,7 @@ Unlike previous assignments where the input files only contain fields separated
jsonFile.close();
```
After these lines, the whole content of the json file will be stored as a string in the std::string variable *json_content*. And you can then parse it to get each individual comment. In order to parse the *json_content*, which is a std::string, you will once again find that the std::string functions such as *std::string::find*(), and *std::string::substr*() to be very useful.
After these lines, the whole content of the json file will be stored as a string in the std::string variable *json_content*. And you can then parse it to get each individual post. In order to parse the *json_content*, which is a std::string, you will once again find that the std::string functions such as *std::string::find*(), and *std::string::substr*() to be very useful.
### Extract Hashtags from the Post Text