Question: In c++, make a method named ReadStdIn, which takes no parameters. It will read from standard in until the input is p, then stop and
In c++, make a method named ReadStdIn, which takes no parameters. It will read from standard in until the input is "p", then stop and return everything that was inputted back out to stdout on a single line, with an end-line at the end. Your function should be called ReadWrite, and your main file should again be called testMain.cpp.
header.h:
#pragma once void ReadStdIn(); void ReadWrite();
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
