User-defined Data Types

We can also set our own preferences for the input and output operators.

We'll cover the following...

If you overload the input and output operators, your data type behaves like a built-in data type.

Access this course and 1400+ top-rated courses and projects.