Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Object Oriented Programming (210243)

Rating
-
Sold
-
Pages
3
Uploaded on
02-04-2022
Written in
2021/2022

Summary Object Oriented Programming ()

Institution
Course

Content preview

󾠱
Unit 4
Stream
Files
Streams
obj.open(filename, mode)
obj.close():
Binary Files
EOF
Pointers



Stream
When C program begins execution three predefined streams are automatically opened -
stdin, stdout, stderr
When C++ program begins four streams - cin, cout, cerr and clog
Cin is object of istream_withassign class which is derived from istream class
Cout is object of ostream_withassign class which is derived from ostream class
The stream class consists of the three areas:

1. Buffer system given by basic_streambuf. It supports I/O operations.

2. Specification system implemented by basic_ios class. This is high level I/O class
that provides formatting, error checking.

3. Translation system implemented by classes like istream, ostream.



Files
Streams
Ofstream write to file



Unit 4 1

Written for

Institution
Course

Document information

Uploaded on
April 2, 2022
Number of pages
3
Written in
2021/2022
Type
SUMMARY

Subjects

$3.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
sanahnaik

Get to know the seller

Seller avatar
sanahnaik Bharati Vidyapeeth\'s College of Engineering for Women
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
33
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions