Home / Object Oriented Programming / Briefly explain stream class and pointer and define template

Briefly explain stream class and pointer and define template

Briefly explain stream class and pointer

Stream class: The C++ I/O system contains a hierarchy of classes that are used to define various streams to deal with both disk file and console. These classes are known as stream classes. For use: istream, iostream, ostream etc.

Pointer: Pointer is a one third of variable that store the address of another existing variable.

Define Template

Template is a blueprint or formula for creating generic classes or function.