tailieunhanh - Object Oriented Programming - Lesson 11: Input and Output Operations
Object Oriented Programming - Lesson 11: Input and Output Operation's Objectives is become familiar with the concept of an I/O stream, understand the difference between binary files and text files, learn how to read data from a file, learn how to save data into a file. | LESSON XI. Input and Output Operations Trinh Thanh TRUNG (MSc) trungtt@ Objectives • Become familiar with the concept of an I/O stream • Understand the difference between binary files and text files • Learn how to read data from a file • Learn how to save data into a file Content I. Basic input and output II. File Manipulation and Output with Scanner and printf I. Basic input and output 1. Overview 2. Model to do I/O 1. Overview – I/O • I/O = Input/Output • In this context it is input to and output from programs • Input can be from keyboard or a file • Output can be to display (screen) or a file • Advantages of file I/O – permanent copy – output from one program can be input to another – input can be automated (rather than entered .
đang nạp các trang xem trước