Relative Content

Tag Archive for c++setw

Include tell me in short about setw and how to use it properly

#include <iomanip> #include <iostream> #include <conio.h> int main() { int num = 50, num2=100; Clrscr(); cout << ” width: n” << num << endl; cout << “hight : n” << num2 << endl; getch(); return 0; } This is the code and I want to know how to use setw() in this code ?? If […]