0% found this document useful (0 votes)
49 views

Unit 5 OOPS Using C++: Dr. Rajanikanth Kashi Dept. of ECE Bmsce

This document outlines the unit 5 syllabus on OOPS using C++. It discusses C++ streams and I/O methods, stream classes like cin and cout, and functions for input and output like get(), put(), getline(), write(). It also covers formatted console I/O operations and use of manipulators. The document is authored by Dr. Rajanikanth Kashi of the Department of ECE at BMSCE.

Uploaded by

Eshwar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views

Unit 5 OOPS Using C++: Dr. Rajanikanth Kashi Dept. of ECE Bmsce

This document outlines the unit 5 syllabus on OOPS using C++. It discusses C++ streams and I/O methods, stream classes like cin and cout, and functions for input and output like get(), put(), getline(), write(). It also covers formatted console I/O operations and use of manipulators. The document is authored by Dr. Rajanikanth Kashi of the Department of ECE at BMSCE.

Uploaded by

Eshwar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 26

Unit 5

OOPS using C++

Dr. Rajanikanth Kashi

Dept. of ECE

BMSCE

1
Syllabus

2
Syllabus

3
C++ Streams

• I/O Methods in C++ support the concept of OOP


• I/O Methods in C cannot handle user defined data types
C++ Streams Classes
cin

6
cout

7
C++ Streams Classes
C++ Streams Classes
Put() and get () Functions
Put() and get () Functions
getline() and write () Functions
getline() and write () Functions
getline() and write () Functions
getline() and write () Functions
Formatted Console I/O Operations
Summary Examples

17
Formatted Console I/O Operations
Formatted Console I/O Operations
Formatted Console I/O Operations
Formatted Console I/O Operations
Formatted Console I/O Operations
Formatted Console I/O Operations
Formatted Console I/O Operations
Formatted Console I/O Operations
Manipulators

You might also like