This preview shows page 1. Sign up to view the full content.
Unformatted text preview: testout.open(infilename, ios::app) if (testout.fail()) BEGIN cout << "file not opended successfully" << endl END else BEGIN cout << "file opend successfully" << endl END testout << "this is a test" << endl testout.width(9) testout.setf(ios::fixed) testout.precision(3) testout << 6 << endl testout.width(9) testout << 3.4312548 << endl testout.close() return 0 END...
View Full Document
This note was uploaded on 03/19/2008 for the course CSE 122 taught by Professor Yoxheimer,ericch during the Fall '07 term at Pennsylvania State University, University Park.
- Fall '07