Given the availability of an ofstream object named output, and a string variable name tweet, write the other statements necessary to open a file named mytweet”, display the prompt tweet: and then read an entire line into tweet and then write it out to the file mytweet. (Do not define a main function.)
LANGUAGE: C++
CHALLENGE:
Given the availability of an ofstream object named output, and a string variable name tweet, write the other statements necessary to open a file named mytweet”, display the prompt tweet: and then read an entire line into tweet and then write it out to the file mytweet. (Do not define a main function.)
SOLUTION:
The Bad News: The content you are trying to access is only available to members.
The Good News: You too can be a member, simply Click Here.
Already a member? Log In Here
Posted in C++, Learn To Code