Answered step by step
Verified Expert Solution
Question
1 Approved Answer
So I'm trying to read the txt file. So my thought is that I read the file until the program reads a semicolon. I want
So I'm trying to read the txt file. So my thought is that I read the file until the program reads a semicolon. I want to grab the word after the semicolon and store it then display the result which is happy, then read next line then display sadness etc.
I'm stuck on the while loops. Code is in c++
#includesiostreamP #includeststrealP #includestring #includeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started