C++_Part2 - Object-oriented Programming With C Lecture...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Object-oriented Programming With C++ Lecture Notes 118 S. Kondakci Page 118 29.04.2004 8. C++ STREAM AND FILE I/O OPERATIONS..............................................................................120 8.1 TERMINAL I/O OPERATIONS..........................................................................................................121 8.1.1 Character String Operations ................................................................................................121 8.1.2 Buffer String Operations.......................................................................................................121 8.2 FILE I/O OPERATIONS....................................................................................................................122 Basic Input Output Operations......................................................................................................123 Character Output With put()......................................................................................................................123 The EOF Character (^Z)............................................................................................................................123 get() and getline() Methods............................................................................................................123 Further Examples: .......................................................................................................................125 8.3 TERMINAL OPERATIONS: STANDARD INPUT/OUTPUT....................................................................126 8.3.1 Input/Output Buffering .........................................................................................................128 8.3.2 Formatted Output .................................................................................................................128 Formatting Output With setf() .............................................................................................................129 Format Flags..............................................................................................................................................129 Functions Used to Modify Format Flags...................................................................................................130 Naming Format Flags................................................................................................................................131 9. MANIPULATORS............................................................................................................................132 9.1 USER DEFINED MANIPULATORS ....................................................................................................132 9.2 INPUT/OUTPUT STATES .................................................................................................................134 10. C++ FILE I/O OPERATIONS .......................................................................................................13710....
View Full Document

This note was uploaded on 03/16/2009 for the course BILGISAYAR cs116 taught by Professor Çoşkun during the Spring '09 term at Izmir University of Economics.

Page1 / 68

C++_Part2 - Object-oriented Programming With C Lecture...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online