#include #include #include // stream string #include //ostrstream using namespace std; //myofstream_constructs3.cpp //Output File Stream Constructors void readfile10(char[] ); string str1; int main() { cout<<"\n create string stream with "; cout<<" data in a file "; char ch1[]= "data10.txt"; ofstream myFile10;// on the Stack myFile10.open(ch1); // insertion operators << myFile10<<" Adding text to data10 file."; myFile10.close(); readfile10(ch1); return 0; } // ifstream is an input stream void readfile10(char ch3[]) { cout<<"\n reading file "< "; while(infile.good()) { infile.get(ch); //if(!ch){ break;} if(ch=='.'){ break;} cout<" << str1<