Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

setw in c++

#include<iostream>
#inclue<iomanip>
// Introducing the concept of setw//
using namespace std;
int main()
{
  int i = 13;
  cout<<setw(19)<<i;
}
 
PREVIOUS NEXT
Tagged: #setw
ADD COMMENT
Topic
Name
8+8 =