Home / Object Oriented Programming / Define manipulators. Give Example

Define manipulators. Give Example

Manipulators are operators that are used to format data display. The most commonly used manipulators are setw() and endl, There are few manipulators –

  • Setw()
  • Setbase
  • Setprecision()
  • Setfill()
  • Endl
  • Showpoint
  • Fixed
  • Flush etc.