cpp example code and explanation for me.
based on online lecture : cpp unmanaged programming by pocu
- string
about string class and basic operators and member functions - stringstream example code
- count words from sstream example code
- outformatting example code
example code for coutformatting(setw, justification, showpos, boolalpha ..etc)
- file input and output
about fstream(ifstream, ofstream) and some useful functions(checking flags and seekg..etc) - binary read write example code
- read only number example code
- constructor and destructor
about access modifier and constructor and destructor
also about const method and difference of struct and class - copy constructor
- operator overloading
function overloading and operator overloading
freind class and friend function
implicit assign operator and the way to avoid implicit constructor/operator