Csci 2111: Data and File Structures Week1, Lecture 2

3/22/98


Click here to start


Table of Contents

Csci 2111: Data and File Structures Week1, Lecture 2

Outline

Physical versus Logical Files

Opening Files

Opening Files in C and C++

Closing Files

Reading

Writing

Seeking

Special Characters in Files I

Special Characters in Files II: Examples

The Unix Directory Structure I

The Unix Directory Structure II

Physical Devices and Logical Files

Stdout, Stdin, Stderr

I/O Redirection and Pipes

Unix System Commands

Author: N & N