Discussions about Widthfunction

Showing page: 1 of 1

Wecan use the width() function todefine the width of a field necessary for the output of an item. Since, it is a member function; we have to use an object to invoke it, as shown below: cout.width(w); Wher...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago