hi i am trying to use setw with a string..
here is my code..
string a="hello"; cout<<setw(10)<<a;
i inserted string header and iomanip header files...
now my output should be with a few number of blank spaces and then it should print hello..
but its not working for me...
could you pls help me out!!
thanks in advance!!