Working with Input, Output and Fileso Introductiono Stream Class Model of C++ (istream,ostream,ifstream,ofstream,iostream)o Text Fileso Test mode input using ‘extraction’(>>) operator, ‘get()’ function and ‘getline()’ functiono Text mode output using ‘insertion’ (<<) operator and ‘put()’ function include include include void
Type Conversion in CPP – Conversion from one Class types to another class type
Type Conversion in CPP – Conversion from Class types to basic type
We need to use special function called type-conversion function. Type conversion function uses operator keyword and syntax is as mentioned below. Operator type() {} Example