Making Your Own Manipulators
In c++ you can make your own manipulators. Its very is and is fun.
Here I will show you an example a simple one. I tried to make it similar to an american drama serial The originals.
Dependency
it depends or changes from compiler to compiler and version to version of same compiler.
So make sure you check the documents of your compiler.
Program Body
#include iostream
#include string
#include iomanip
using namespace std;
ostream &originals(ostream &ori){
ori<<" The originals is the first family of vampires 'THE UNKILLABELS'";
return ori;
}
int main (){
cout<<"who are the originals"<<originals<<endl;
}