lab5ex4 - string inString2;"inData");

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
// Program StringRead reads and writes strings. / #include <iostream> #include <fstream> #include <string> using namespace std; u int main () { ifstream inFile; ofstream outFile; string inString1;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: string inString2;"inData");"outData"); /* TO BE FILLED IN. */ outFile << inString1 << endl; outFile << inString2 << endl; return 0; }...
View Full Document

This note was uploaded on 04/25/2010 for the course CECS CIS 150 taught by Professor L.tsui during the Fall '07 term at University of Michigan-Dearborn.

Ask a homework question - tutors are online