Question: c++ code Key Le Functions (pass by value vs reference) Function files (.h & .cpp) Vector (of struct) Looping, Branching, Print formatting File input &

c++ code


Key Le Functions (pass by value vs reference) Function files (.h &

.cpp) Vector (of struct) Looping, Branching, Print formatting File input & File

output String manipulation & ASCII Character verification Assignment Problem: You work for

a major social media platform and have been asked to evaluate reviews  
 

Key Le Functions (pass by value vs reference) Function files (.h & .cpp) Vector (of struct) Looping, Branching, Print formatting File input & File output String manipulation & ASCII Character verification Assignment Problem: You work for a major social media platform and have been asked to evaluate reviews for different sites. You have a series of tasks to perform in order to complete this project. Part 1 - Evaluating the Original Sentiment: You will be evaluating the sentiment of 8 different reviews. formatting the output to 80 characters (or less) per line and printing the 'sentiment' of this review. To complete this you will need to: Read the file 'sentiment.txt" which contains over 6000 words along with a given 'sentiment value (a decimal number that is either positive (because the word has a positive sentiment) or negative (because, well, it is a negative sentiment). This file is fundamentally a csv file (a comma delimited file). You may use substring logic or csv logic to read this file. . You will load this information into a vector of structs (containing the string word and the float value of each word). If the word has a value > 1.25, it will also be loaded into a 'positive' word vector or if it is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!