Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have 2 questions. 1. Is what im doing in this these pictures an example of saving files? If so how do I make it

I have 2 questions. 1. Is what im doing in this these pictures an example of saving files? If so how do I make it to where when the file closes and opens it reopens where I left off. 2. How do I get it to save all of the "notes". (line 27)
image text in transcribed
image text in transcribed
image text in transcribed
Global Scech maino - CUsers dame source repository for wife Debug Story for wife.exe What is your name? Metree Ok Your name is Metree How old are you? Dk your name is Metree and you are 24 years old. Press any key to continue... Ok Metree tell me what you want and I will save it for you as notes. This is a test. EEEEE E EEEEE o to - x86 9.08 . - timah.txt X Card_gamee_6_1.cpp a 2.0 - Debug Story_for_wife.cpp Metree This Story flwife.cpp + x (Global Scope) mah.txt Card_gamee_6_1.cpp & Story_for_wife 3 include #include #include using namespace std; int main() opening file ofstre file; file.open("timah.txt"); String name; cout > nane; cout > notes; file

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Accidental Data Scientist

Authors: Amy Affelt

1st Edition

1573877077, 9781573877077

More Books

Students also viewed these Databases questions

Question

Discuss how S. Truett Cathys values shaped Chick-fil-As operation.

Answered: 1 week ago

Question

=+6. What does the invisible hand of the marketplace do?

Answered: 1 week ago

Question

=+ 4. Why should policymakers think about incentives?

Answered: 1 week ago